[svn:parrot] r49207 - trunk/src/gc

chromatic at svn.parrot.org chromatic at svn.parrot.org
Tue Sep 21 22:06:31 UTC 2010


Author: chromatic
Date: Tue Sep 21 22:06:31 2010
New Revision: 49207
URL: https://trac.parrot.org/parrot/changeset/49207

Log:
[GC] Fixed a compiler warning.

Modified:
   trunk/src/gc/system.c

Modified: trunk/src/gc/system.c
==============================================================================
--- trunk/src/gc/system.c	Tue Sep 21 21:58:50 2010	(r49206)
+++ trunk/src/gc/system.c	Tue Sep 21 22:06:31 2010	(r49207)
@@ -526,7 +526,7 @@
 {
     ASSERT_ARGS(is_pmc_ptr)
     return contained_in_pool(mem_pools->pmc_pool, ptr)
-        && PObj_is_PMC_TEST((PObj *)ptr);
+           && PObj_is_PMC_TEST((const PObj *)ptr);
 }
 
 


More information about the parrot-commits mailing list