Reviewed by Maciej Stachowiak.
Fix minor compiler warning (GCC 4.1.3)
* pcre/pcre_internal.h:
* pcre/pcre_ucp_searchfuncs.cpp:
(_pcre_ucp_othercase):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28027
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-11-24 Laszlo Gombos <laszlo.gombos@gmail.com>
+
+ Reviewed by Maciej Stachowiak.
+
+ Fix minor compiler warning (GCC 4.1.3)
+
+ * pcre/pcre_internal.h:
+ * pcre/pcre_ucp_searchfuncs.cpp:
+ (_pcre_ucp_othercase):
+
2007-11-25 Mark Rowe <mrowe@apple.com>
Reviewed by Dan Bernstein.
sense, but are not part of the PCRE public API. */
extern int _pcre_ord2utf8(int, uschar *);
-extern int _pcre_ucp_othercase(const int);
+extern int _pcre_ucp_othercase(const unsigned int);
extern BOOL _pcre_xclass(int, const uschar *);
static inline bool isNewline(pcre_uchar nl)
*/
int
-_pcre_ucp_othercase(const int c)
+_pcre_ucp_othercase(const unsigned int c)
{
int bot = 0;
int top = sizeof(ucp_table)/sizeof(cnode);