Skip to content
Snippets Groups Projects
Commit 6f772ea2 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed warning for real this time.

Rev: src/encode.c:1.30
parent 5e5208bc
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include "stuff.h" #include "stuff.h"
#include "version.h" #include "version.h"
RCSID("$Id: encode.c,v 1.29 1999/03/07 20:18:26 grubba Exp $"); RCSID("$Id: encode.c,v 1.30 1999/03/07 20:19:43 grubba Exp $");
#ifdef _AIX #ifdef _AIX
#include <net/nh.h> #include <net/nh.h>
...@@ -183,7 +183,7 @@ one_more_type: ...@@ -183,7 +183,7 @@ one_more_type:
/* FIXME: I assume the type is saved in network byte order. Is it? /* FIXME: I assume the type is saved in network byte order. Is it?
* /grubba 1999-03-07 * /grubba 1999-03-07
*/ */
for(i = 0; i < (int)2*sizeof(INT32); i++) { for(i = 0; i < (int)(2*sizeof(INT32)); i++) {
addchar(EXTRACT_UCHAR(t++)); addchar(EXTRACT_UCHAR(t++));
} }
} }
...@@ -637,7 +637,7 @@ one_more_type: ...@@ -637,7 +637,7 @@ one_more_type:
/* FIXME: I assume the type is saved in network byte order. Is it? /* FIXME: I assume the type is saved in network byte order. Is it?
* /grubba 1999-03-07 * /grubba 1999-03-07
*/ */
for(i = 0; i < (int)2*sizeof(INT32); i++) { for(i = 0; i < (int)(2*sizeof(INT32)); i++) {
push_type(GETC()); push_type(GETC());
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment