* src/gmalloc.c (_free_internal_nolock, _realloc_internal_nolock)
[CYGWIN]: Cast ptr to (char *) before comparing to _heapbase.
+2012-05-20 Ken Brown <kbrown@cornell.edu>
+
+ * gmalloc.c (_free_internal_nolock, _realloc_internal_nolock)
+ [CYGWIN]: Cast ptr to (char *) before comparing to _heapbase.
+
2012-05-19 Ken Brown <kbrown@cornell.edu>
* xfns.c (x_in_use): Remove `static' qualifier.
return;
#ifdef CYGWIN
- if (ptr < _heapbase)
+ if ((char *) ptr < _heapbase)
/* We're being asked to free something in the static heap. */
return;
#endif
return _malloc_internal_nolock (size);
#ifdef CYGWIN
- if (ptr < _heapbase)
+ if ((char *) ptr < _heapbase)
/* ptr points into the static heap */
return special_realloc (ptr, size);
#endif