print memory usage as unsigned
authorceriel <none@none>
Tue, 5 Jul 1988 14:07:19 +0000 (14:07 +0000)
committerceriel <none@none>
Tue, 5 Jul 1988 14:07:19 +0000 (14:07 +0000)
util/LLgen/src/main.c

index ade7d28..65b451e 100644 (file)
@@ -163,7 +163,7 @@ main(argc,argv) register string     argv[]; {
                fprintf(stderr, "number of tokens: %d\n", ntokens);
                fprintf(stderr, "number of term structures: %d\n", nterms);
                fprintf(stderr, "number of alternation structures: %d\n", nalts);
-               fprintf(stderr, "total memory used: %d\n", sbrk(0) - (char *) &end);
+               fprintf(stderr, "total memory used: %u\n", sbrk(0) - (char *) &end);
        }
        exit(0);
 }