From: gfx Date: Mon, 31 Aug 2009 11:44:56 +0000 (+0900) Subject: Fix syntax error X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6fb5f5f11b9ce58861f9f9d25790223c3a6642a6;p=gitmo%2FMoose.git Fix syntax error --- diff --git a/xs/moose_accessor.c b/xs/moose_accessor.c index 7bab725..c577ee6 100644 --- a/xs/moose_accessor.c +++ b/xs/moose_accessor.c @@ -155,8 +155,8 @@ moose_apply_type_constraint(pTHX_ AV* const mi, SV* value, U16 const flags){ if(SvROK(tc_code) && SvTYPE(SvRV(tc_code)) && CvXSUB((CV*)SvRV(tc_code)) == XS_Moose__Util__TypeConstraints__OptimizedConstraints_Item){ /* built-in type constraints */ - moose_tc const id = CvXSUBANY((CV*)SvRV(tc_code)).any_i32); - av_store(mi, MOOSE_MI_TC_CODE, newSViv(id); + moose_tc const id = CvXSUBANY((CV*)SvRV(tc_code)).any_i32; + av_store(mi, MOOSE_MI_TC_CODE, newSViv(id)); } else{ av_store(mi, MOOSE_MI_TC_CODE, newSVsv(tc_code));