[svn:parrot] r46229 - trunk/src/pmc

chromatic at svn.parrot.org chromatic at svn.parrot.org
Mon May 3 07:55:27 UTC 2010


Author: chromatic
Date: Mon May  3 07:55:26 2010
New Revision: 46229
URL: https://trac.parrot.org/parrot/changeset/46229

Log:
[PMC] Fixed C++ build error in ImageIOSize PMC.

Modified:
   trunk/src/pmc/imageiosize.pmc

Modified: trunk/src/pmc/imageiosize.pmc
==============================================================================
--- trunk/src/pmc/imageiosize.pmc	Mon May  3 05:50:07 2010	(r46228)
+++ trunk/src/pmc/imageiosize.pmc	Mon May  3 07:55:26 2010	(r46229)
@@ -116,7 +116,8 @@
     VTABLE void init_pmc(PMC *pf_ct) {
         PARROT_IMAGEIOSIZE(SELF)->todo  = Parrot_pmc_new(INTERP, enum_class_ResizablePMCArray);
         PARROT_IMAGEIOSIZE(SELF)->pf    = PackFile_new(INTERP, 0);
-        PARROT_IMAGEIOSIZE(SELF)->pf_ct = VTABLE_get_pointer(interp, pf_ct);
+        PARROT_IMAGEIOSIZE(SELF)->pf_ct =
+            (PackFile_ConstTable *)VTABLE_get_pointer(interp, pf_ct);
         PARROT_IMAGEIOSIZE(SELF)->size  = 0;
 
         PARROT_IMAGEIOSIZE(SELF)->seen = Parrot_pmc_new(INTERP, enum_class_Hash);


More information about the parrot-commits mailing list