From c6030c6511c69b69a216c893957b01bfc264d365 Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 19 Mar 1995 13:29:28 +0000 Subject: You will find enclosed some changes to make gcc -Wall more happy in /usr/src/bin. Note that some patches are still needed in that directory. I (Joerg) finished most of Philippe's cleanup. /bin/sh will still need *allot* of work, however. Submitted by: charnier@lirmm.fr (Philippe Charnier) --- bin/csh/alloc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin/csh/alloc.c') diff --git a/bin/csh/alloc.c b/bin/csh/alloc.c index b0a7a1e..aa4e74c 100644 --- a/bin/csh/alloc.c +++ b/bin/csh/alloc.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: alloc.c,v 1.2 1994/09/24 02:53:45 davidg Exp $ */ #ifndef lint @@ -122,5 +122,6 @@ showall(v, t) { memtop = (char *) sbrk(0); (void) fprintf(cshout, "Allocated memory from 0x%lx to 0x%lx (%ld).\n", - (unsigned long) membot, (unsigned long) memtop, memtop - membot); + (unsigned long) membot, (unsigned long) memtop, + (unsigned long) (memtop - membot)); } -- cgit v1.1