]> git.mxchange.org Git - flightgear.git/commitdiff
Type consistency.
authorcurt <curt>
Wed, 16 May 2007 16:47:13 +0000 (16:47 +0000)
committercurt <curt>
Wed, 16 May 2007 16:47:13 +0000 (16:47 +0000)
tests/test-text.cxx

index cc9a4e09e8e6e275a0cefd758ba63c99692eff33..dec0c85fd9562b98df91d5bc5e9e7af7cfdfcda7 100644 (file)
@@ -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 ) {