diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-06-25 04:41:26 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-06-25 04:41:26 +0000 |
commit | 1949c7f9a7cab4c3c7dcfcb2dd4e99c0267c6e89 (patch) | |
tree | ea8dce614c09fc35fff6e841b9017f4c637ef84f /bin/csh/alloc.c | |
parent | a6b55aee56b75d1055400f67d632d15ec1eccb70 (diff) |
fix obvious warnings.
Diffstat (limited to 'bin/csh/alloc.c')
-rw-r--r-- | bin/csh/alloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/csh/alloc.c b/bin/csh/alloc.c index cfdf31055a1..226c3a40034 100644 --- a/bin/csh/alloc.c +++ b/bin/csh/alloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: alloc.c,v 1.4 1997/07/25 18:57:57 mickey Exp $ */ +/* $OpenBSD: alloc.c,v 1.5 2001/06/25 04:41:24 art Exp $ */ /* $NetBSD: alloc.c,v 1.6 1995/03/21 09:02:23 cgd Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)alloc.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: alloc.c,v 1.4 1997/07/25 18:57:57 mickey Exp $"; +static char rcsid[] = "$OpenBSD: alloc.c,v 1.5 2001/06/25 04:41:24 art Exp $"; #endif #endif /* not lint */ @@ -127,5 +127,5 @@ showall(v, t) { memtop = (char *) sbrk(0); (void) fprintf(cshout, "Allocated memory from 0x%lx to 0x%lx (%d).\n", - (unsigned long) membot, (unsigned long) memtop, memtop - membot); + (unsigned long) membot, (unsigned long) memtop, (int)memtop - membot); } |