From bdac5aa7862760b06b4b1bf3cfd1da4e22022edb Mon Sep 17 00:00:00 2001 From: rws Date: Wed, 2 Jan 1991 19:01:27 +0000 Subject: Cray nit --- xc/lib/Xt/Alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xc/lib/Xt') diff --git a/xc/lib/Xt/Alloc.c b/xc/lib/Xt/Alloc.c index 6e9d28cbe..ea5ec6acd 100644 --- a/xc/lib/Xt/Alloc.c +++ b/xc/lib/Xt/Alloc.c @@ -1,4 +1,4 @@ -/* $XConsortium: Alloc.c,v 1.36 90/12/30 15:04:38 rws Exp $ */ +/* $XConsortium: Alloc.c,v 1.37 90/12/31 15:17:50 rws Exp $ */ /*********************************************************** Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts, @@ -100,7 +100,7 @@ char* _XtHeapAlloc(heap, bytes) { register char* heap_loc; if (heap == NULL) return XtMalloc(bytes); - if (heap->bytes_remaining < bytes) { + if (heap->bytes_remaining < (int)bytes) { if ((bytes + sizeof(char*)) >= (HEAP_SEGMENT_SIZE>>1)) { /* preserve current segment; insert this one in front */ #ifdef _TRACE_HEAP -- cgit v1.2.3