projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5f051c
)
regexec.c: Cast to silence compiler warning
author
Karl Williamson
<public@khwilliamson.com>
Mon, 7 Jan 2013 06:00:15 +0000
(23:00 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Mon, 7 Jan 2013 15:26:12 +0000
(08:26 -0700)
regexec.c
patch
|
blob
|
history
diff --git
a/regexec.c
b/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) {