Browse Source

type cast output to prevent build warnings

Mike Frysinger 19 years ago
parent
commit
7092c31411
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/string/string.c

+ 1 - 1
test/string/string.c

@@ -1416,7 +1416,7 @@ main (void)
   else
     {
       status = EXIT_FAILURE;
-      printf("%d errors.\n", errors);
+      printf("%lu errors.\n", (unsigned long)errors);
     }
 
   return status;