Fix moose_throw_error
gfx [Tue, 25 Aug 2009 01:20:22 +0000 (10:20 +0900)]
xs/Moose.xs

index b952a9e..72e0f57 100644 (file)
@@ -28,7 +28,7 @@ moose_throw_error(SV* const metaobject, SV* const data, const char* const fmt, .
 
         if(data){
             EXTEND(SP, 2);
-            mPUSHp(newSVpvs("data"));
+            mPUSHs(newSVpvs("data"));
             PUSHs(data);
         }
         PUTBACK;