OSDN Git Service

type cast output to prevent build warnings
authorMike Frysinger <vapier@gentoo.org>
Thu, 30 Jun 2005 23:51:06 +0000 (23:51 -0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 30 Jun 2005 23:51:06 +0000 (23:51 -0000)
test/string/string.c

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