From: gfx Date: Tue, 25 Aug 2009 01:20:22 +0000 (+0900) Subject: Fix moose_throw_error X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ef82d06cc4caae078a504114ffe1cbea6541e127;p=gitmo%2FMoose.git Fix moose_throw_error --- diff --git a/xs/Moose.xs b/xs/Moose.xs index b952a9e..72e0f57 100644 --- a/xs/Moose.xs +++ b/xs/Moose.xs @@ -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;