summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-04-27 07:55:34 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-04-27 07:55:34 +0000
commitc7e093b82721727e685c42b5e5869705c6011be6 (patch)
tree9d415c177d5a5dbeb73775bf4446f248a4857167
parent449b893f0f01dace40f6b620372b0098345284a8 (diff)
downloadperl-c7e093b82721727e685c42b5e5869705c6011be6.tar.gz
Fix a signed/unsigned comparison warning
p4raw-id: //depot/perl@31097
-rw-r--r--regexec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/regexec.c b/regexec.c
index 79fab43436..d3e9c25096 100644
--- a/regexec.c
+++ b/regexec.c
@@ -5006,9 +5006,8 @@ NULL
#undef ST
case FOLDCHAR:
n = ARG(scan);
- if (nextchr==n) {
+ if (nextchr == (I32)n) {
locinput += UTF8SKIP(locinput);
-
} else {
/* This malarky is to handle LATIN SMALL LETTER SHARP S
properly. Sigh */