summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/pcre
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/pcre')
-rw-r--r--JavaScriptCore/pcre/pcre_ucp_searchfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/JavaScriptCore/pcre/pcre_ucp_searchfuncs.cpp b/JavaScriptCore/pcre/pcre_ucp_searchfuncs.cpp
index 5592865..d2052b2 100644
--- a/JavaScriptCore/pcre/pcre_ucp_searchfuncs.cpp
+++ b/JavaScriptCore/pcre/pcre_ucp_searchfuncs.cpp
@@ -95,5 +95,5 @@ int jsc_pcre_ucp_othercase(unsigned c)
int offset = ucp_table[mid].f1 & f1_casemask;
if (offset & f1_caseneg)
offset |= f1_caseneg;
- return !offset ? -1 : c + offset;
+ return !offset ? -1 : static_cast<int>(c + offset);
}