Type consistency.
This commit is contained in:
parent
0f3d9962e0
commit
9a5840f6e7
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
#include <string.h>
|
||||
|
||||
static void readchars( FILE *fd ) {
|
||||
char c;
|
||||
int c;
|
||||
while ( (c = fgetc(fd)) != EOF ) {
|
||||
printf("c = %d", c);
|
||||
if ( c == 10 ) {
|
||||
|
|
Loading…
Reference in a new issue