[svn:parrot] r46429 - branches/codestring/src/gc

plobsing at svn.parrot.org plobsing at svn.parrot.org
Sun May 9 05:21:35 UTC 2010


Author: plobsing
Date: Sun May  9 05:21:35 2010
New Revision: 46429
URL: https://trac.parrot.org/parrot/changeset/46429

Log:
correct order of arguments to memset (sorear++)

Modified:
   branches/codestring/src/gc/gc_ms.c

Modified: branches/codestring/src/gc/gc_ms.c
==============================================================================
--- branches/codestring/src/gc/gc_ms.c	Sun May  9 04:58:19 2010	(r46428)
+++ branches/codestring/src/gc/gc_ms.c	Sun May  9 05:21:35 2010	(r46429)
@@ -1362,7 +1362,7 @@
     UNUSED(interp);
 #else
     /* Fill with garbage to identify memory problems early */
-    memset(ptr, size, 0xf);
+    memset(ptr, 0xf, size);
 #endif
 
     return ptr;


More information about the parrot-commits mailing list