aboutsummaryrefslogtreecommitdiffstats
path: root/src/gmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmalloc.c')
-rw-r--r--src/gmalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gmalloc.c b/src/gmalloc.c
index 38406fd029a..b53199e7312 100644
--- a/src/gmalloc.c
+++ b/src/gmalloc.c
@@ -1004,7 +1004,7 @@ _free_internal_nolock (void *ptr)
1004 return; 1004 return;
1005 1005
1006#ifdef CYGWIN 1006#ifdef CYGWIN
1007 if (ptr < _heapbase) 1007 if ((char *) ptr < _heapbase)
1008 /* We're being asked to free something in the static heap. */ 1008 /* We're being asked to free something in the static heap. */
1009 return; 1009 return;
1010#endif 1010#endif
@@ -1341,7 +1341,7 @@ _realloc_internal_nolock (void *ptr, size_t size)
1341 return _malloc_internal_nolock (size); 1341 return _malloc_internal_nolock (size);
1342 1342
1343#ifdef CYGWIN 1343#ifdef CYGWIN
1344 if (ptr < _heapbase) 1344 if ((char *) ptr < _heapbase)
1345 /* ptr points into the static heap */ 1345 /* ptr points into the static heap */
1346 return special_realloc (ptr, size); 1346 return special_realloc (ptr, size);
1347#endif 1347#endif