Selaa lähdekoodia

type cast output to prevent build warnings

Mike Frysinger 20 vuotta sitten
vanhempi
commit
7092c31411
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;