[svn:parrot] r43355 - branches/boehm_gc/src/gc
mikehh at svn.parrot.org
mikehh at svn.parrot.org
Fri Jan 1 17:50:14 UTC 2010
Author: mikehh
Date: Fri Jan 1 17:50:13 2010
New Revision: 43355
URL: https://trac.parrot.org/parrot/changeset/43355
Log:
fix codetest failures - there should be one space or a newline after a comma and unwrapped macro arguments
Modified:
branches/boehm_gc/src/gc/alloc_memory.c
Modified: branches/boehm_gc/src/gc/alloc_memory.c
==============================================================================
--- branches/boehm_gc/src/gc/alloc_memory.c Fri Jan 1 17:07:09 2010 (r43354)
+++ branches/boehm_gc/src/gc/alloc_memory.c Fri Jan 1 17:50:13 2010 (r43355)
@@ -29,7 +29,7 @@
# define malloc GC_MALLOC_UNCOLLECTABLE
# define free GC_FREE
# define realloc GC_REALLOC
-# define calloc(s,n) memset(GC_MALLOC_UNCOLLECTABLE(s*n), 0, s*n)
+# define calloc(s, n) memset(GC_MALLOC_UNCOLLECTABLE((s)*(n)), 0, (s)*(n))
#endif
PARROT_DOES_NOT_RETURN
More information about the parrot-commits
mailing list