regexec.c: Cast to silence compiler warning
authorKarl Williamson <public@khwilliamson.com>
Mon, 7 Jan 2013 06:00:15 +0000 (23:00 -0700)
committerKarl Williamson <public@khwilliamson.com>
Mon, 7 Jan 2013 15:26:12 +0000 (08:26 -0700)
regexec.c

index 5e310da..fc09b75 100644 (file)
--- a/regexec.c
+++ b/regexec.c
@@ -492,7 +492,9 @@ S_isFOO_utf8_lc(pTHX_ const U8 classnum, const U8* character)
                 swash_property_names[classnum], &PL_sv_undef, 1, 0, NULL, &flags);
         }
 
-        return swash_fetch(PL_utf8_swash_ptrs[classnum], (U8 *) character, TRUE);
+        return cBOOL(swash_fetch(PL_utf8_swash_ptrs[classnum], (U8 *)
+                                 character,
+                                 TRUE /* is UTF */ ));
     }
 
     switch ((_char_class_number) classnum) {