[svn:parrot] r48316 - branches/gc_massacre/src/gc

mikehh at svn.parrot.org mikehh at svn.parrot.org
Wed Aug 4 12:44:13 UTC 2010


Author: mikehh
Date: Wed Aug  4 12:44:13 2010
New Revision: 48316
URL: https://trac.parrot.org/parrot/changeset/48316

Log:
[gc_massacre] fix another g++ error - still problems with gc_ms2.c (Buffer *)/(STRING *)

Modified:
   branches/gc_massacre/src/gc/fixed_allocator.c

Modified: branches/gc_massacre/src/gc/fixed_allocator.c
==============================================================================
--- branches/gc_massacre/src/gc/fixed_allocator.c	Wed Aug  4 12:23:12 2010	(r48315)
+++ branches/gc_massacre/src/gc/fixed_allocator.c	Wed Aug  4 12:44:13 2010	(r48316)
@@ -207,7 +207,7 @@
     newpool->num_free_objects  = 0;
     newpool->free_list         = NULL;
     newpool->top_arena         = NULL;
-    newpool->lo_arena_ptr      = (size_t)-1;
+    newpool->lo_arena_ptr      = (void *)((size_t)-1);
     newpool->hi_arena_ptr      = 0;
     newpool->newfree           = 0;
     newpool->newlast           = 0;


More information about the parrot-commits mailing list