From: ceriel Date: Tue, 5 Jul 1988 14:07:19 +0000 (+0000) Subject: print memory usage as unsigned X-Git-Tag: release-5-5~3100 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=93c8b46781c1ee8c21e3929f25aedde7a1ac73e3;p=ack.git print memory usage as unsigned --- diff --git a/util/LLgen/src/main.c b/util/LLgen/src/main.c index ade7d2878..65b451e40 100644 --- a/util/LLgen/src/main.c +++ b/util/LLgen/src/main.c @@ -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); }