summaryrefslogtreecommitdiff
path: root/xc/lib/Xt/Alloc.c
diff options
context:
space:
mode:
authorrws <empty>1991-01-02 19:01:27 +0000
committerrws <empty>1991-01-02 19:01:27 +0000
commitbdac5aa7862760b06b4b1bf3cfd1da4e22022edb (patch)
tree0fac8763ee5f14ab77459895032aabea2da3db86 /xc/lib/Xt/Alloc.c
parentf6d0427f75f13ff47412114e2d486f419be1a748 (diff)
Cray nit
Diffstat (limited to 'xc/lib/Xt/Alloc.c')
-rw-r--r--xc/lib/Xt/Alloc.c4
1 files changed, 2 insertions, 2 deletions
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