]> git.mxchange.org Git - flightgear.git/blobdiff - tests/test-text.cxx
Including missing OSG plugins, use LZMA compression
[flightgear.git] / tests / test-text.cxx
index e01782ec9804f9cd1b845a4f52a18d90cab2bc5f..dec0c85fd9562b98df91d5bc5e9e7af7cfdfcda7 100644 (file)
@@ -1,9 +1,10 @@
 // do some non-destructive read tests relating text files
 
 #include <stdio.h>
+#include <string.h>
 
 static void readchars( FILE *fd ) {
-    char c;
+    int c;
     while ( (c = fgetc(fd)) != EOF ) {
        printf("c = %d", c);
        if ( c == 10 ) {