From 9a5840f6e70159ee5df8597b4f8f6f3e8bc96b0f Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 16 May 2007 16:47:13 +0000 Subject: [PATCH] Type consistency. --- tests/test-text.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-text.cxx b/tests/test-text.cxx index cc9a4e09e..dec0c85fd 100644 --- a/tests/test-text.cxx +++ b/tests/test-text.cxx @@ -4,7 +4,7 @@ #include static void readchars( FILE *fd ) { - char c; + int c; while ( (c = fgetc(fd)) != EOF ) { printf("c = %d", c); if ( c == 10 ) {