chiark / gitweb /
utils/bits.h: Refactor the load/store macros.
[mLib] / struct / t / sym-test.c
index 264d6a957f25e73db6eaac27a8a2eb3b4343f137..8a9435f563ff2b1144cb0e8f16082e4121b28d95 100644 (file)
@@ -55,7 +55,7 @@ int main(void)
       } else
        puts("*MISSING*");
     } else if (strcmp(p, "count") == 0) {
-      printf("%i\n", n);
+      printf("%lu\n", (unsigned long)n);
     } else if (strcmp(p, "show") == 0) {
       sym_iter i;
       word *w;