/[pcre]/code/trunk/pcre_compile.c
ViewVC logotype

Diff of /code/trunk/pcre_compile.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1231 by ph10, Fri Dec 7 12:05:53 2012 UTC revision 1233 by ph10, Sat Dec 8 12:43:37 2012 UTC
# Line 847  else Line 847  else
847            }            }
848    
849  #if defined COMPILE_PCRE8  #if defined COMPILE_PCRE8
850          if (c > (utf ? 0x10ffff : 0xff))          if (c > (utf ? 0x10ffffU : 0xffU))
851  #elif defined COMPILE_PCRE16  #elif defined COMPILE_PCRE16
852          if (c > (utf ? 0x10ffff : 0xffff))          if (c > (utf ? 0x10ffffU : 0xffffU))
853  #elif defined COMPILE_PCRE32  #elif defined COMPILE_PCRE32
854          if (utf && c > 0x10ffff)          if (utf && c > 0x10ffffU)
855  #endif  #endif
856            {            {
857            *errorcodeptr = ERR76;            *errorcodeptr = ERR76;
# Line 1085  else Line 1085  else
1085  #endif  #endif
1086    
1087  #if defined COMPILE_PCRE8  #if defined COMPILE_PCRE8
1088          if (c > (utf ? 0x10ffff : 0xff)) { overflow = TRUE; break; }          if (c > (utf ? 0x10ffffU : 0xffU)) { overflow = TRUE; break; }
1089  #elif defined COMPILE_PCRE16  #elif defined COMPILE_PCRE16
1090          if (c > (utf ? 0x10ffff : 0xffff)) { overflow = TRUE; break; }          if (c > (utf ? 0x10ffffU : 0xffffU)) { overflow = TRUE; break; }
1091  #elif defined COMPILE_PCRE32  #elif defined COMPILE_PCRE32
1092          if (utf && c > 0x10ffff) { overflow = TRUE; break; }          if (utf && c > 0x10ffffU) { overflow = TRUE; break; }
1093  #endif  #endif
1094          }          }
1095    

Legend:
Removed from v.1231  
changed lines
  Added in v.1233

  ViewVC Help
Powered by ViewVC 1.1.5