[svn:parrot] r41105 - trunk/src

mikehh at svn.parrot.org mikehh at svn.parrot.org
Mon Sep 7 09:04:04 UTC 2009


Author: mikehh
Date: Mon Sep  7 09:03:55 2009
New Revision: 41105
URL: https://trac.parrot.org/parrot/changeset/41105

Log:
fix codetest failure and g++ build error

Modified:
   trunk/src/pmc_freeze.c

Modified: trunk/src/pmc_freeze.c
==============================================================================
--- trunk/src/pmc_freeze.c	Mon Sep  7 08:39:09 2009	(r41104)
+++ trunk/src/pmc_freeze.c	Mon Sep  7 09:03:55 2009	(r41105)
@@ -543,7 +543,7 @@
     const UINTVAL length = Parrot_str_byte_length(interp, s);
 
     /* XXX Why 4?  What does that mean? */
-    char  * const buffer = mem_allocate_n_typed(4 * length, char *);
+    char  * const buffer = mem_allocate_n_typed(4 * length, char);
     char         *cursor = buffer;
     UINTVAL       idx    = 0;
 
@@ -2041,7 +2041,7 @@
 PARROT_WARN_UNUSED_RESULT
 PARROT_CAN_RETURN_NULL
 PMC*
-Parrot_clone(PARROT_INTERP, ARGIN(PMC* pmc))
+Parrot_clone(PARROT_INTERP, ARGIN(PMC *pmc))
 {
     ASSERT_ARGS(Parrot_clone)
     return VTABLE_clone(interp, pmc);


More information about the parrot-commits mailing list