diff options
author | Christopher Faylor <me@cgf.cx> | 2005-07-28 17:03:34 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-07-28 17:03:34 +0000 |
commit | 4fe79f1c9726073ff311008a0454cf33c412cfb1 (patch) | |
tree | 78450e024969c61b693294d247ed8ebf8f86bc33 /winsup/cygwin/malloc.cc | |
parent | 625302ea8920b3fb2b9a4de733dcd3728d32405a (diff) | |
download | cygnal-4fe79f1c9726073ff311008a0454cf33c412cfb1.tar.gz cygnal-4fe79f1c9726073ff311008a0454cf33c412cfb1.tar.bz2 cygnal-4fe79f1c9726073ff311008a0454cf33c412cfb1.zip |
* cygmalloc.h (MSPACES): Define. This dropped through the cracks after the
last malloc update.
* dcrt0.cc: Fix a comment.
* malloc.cc (internal_malloc): Fix definition so that it can be safely coerced.
Diffstat (limited to 'winsup/cygwin/malloc.cc')
-rw-r--r-- | winsup/cygwin/malloc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/malloc.cc b/winsup/cygwin/malloc.cc index 4dd1cf926..de97bce76 100644 --- a/winsup/cygwin/malloc.cc +++ b/winsup/cygwin/malloc.cc @@ -3030,7 +3030,7 @@ static void internal_malloc_stats(mstate m) { #else #if MSPACES #define internal_malloc(m, b)\ - (m == gm)? dlmalloc(b) : mspace_malloc(m, b) + ((m == gm)? dlmalloc(b) : mspace_malloc(m, b)) #define internal_free(m, mem)\ if (m == gm) dlfree(mem); else mspace_free(m,mem); #else |