[svn:parrot] r44242 - branches/sys_mem_reduce/include/parrot
mikehh at svn.parrot.org
mikehh at svn.parrot.org
Sat Feb 20 14:35:07 UTC 2010
Author: mikehh
Date: Sat Feb 20 14:35:06 2010
New Revision: 44242
URL: https://trac.parrot.org/parrot/changeset/44242
Log:
fix unwrapped macro argument
Modified:
branches/sys_mem_reduce/include/parrot/memory.h
Modified: branches/sys_mem_reduce/include/parrot/memory.h
==============================================================================
--- branches/sys_mem_reduce/include/parrot/memory.h Sat Feb 20 13:51:47 2010 (r44241)
+++ branches/sys_mem_reduce/include/parrot/memory.h Sat Feb 20 14:35:06 2010 (r44242)
@@ -29,7 +29,7 @@
#define mem_internal_realloc(x, y) mem__internal_realloc((x), (y), __FILE__, __LINE__)
#define mem_internal_realloc_zeroed(p, x, y) mem__internal_realloc_zeroed((p), (x), (y), __FILE__, __LINE__)
-#define mem_internal_realloc_n_zeroed_typed(p, x, y, type) ((type)*)mem__internal_realloc_zeroed((p), (x) * sizeof (type), (y) * sizeof (type), __FILE__, __LINE__)
+#define mem_internal_realloc_n_zeroed_typed(p, x, y, type) (type *)mem__internal_realloc_zeroed((p), (x) * sizeof (type), (y) * sizeof (type), __FILE__, __LINE__)
#define mem_internal_free(x) mem__internal_free((x), __FILE__, __LINE__)
#define mem_sys_memcopy memcpy
More information about the parrot-commits
mailing list