1
0
Fork 0

Type consistency.

This commit is contained in:
curt 2007-05-16 16:47:13 +00:00
parent 0f3d9962e0
commit 9a5840f6e7

View file

@ -4,7 +4,7 @@
#include <string.h> #include <string.h>
static void readchars( FILE *fd ) { static void readchars( FILE *fd ) {
char c; int c;
while ( (c = fgetc(fd)) != EOF ) { while ( (c = fgetc(fd)) != EOF ) {
printf("c = %d", c); printf("c = %d", c);
if ( c == 10 ) { if ( c == 10 ) {