/[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 1073 by chpe, Tue Oct 16 15:54:43 2012 UTC revision 1076 by chpe, Tue Oct 16 15:54:54 2012 UTC
# Line 2755  register int yield = 0; Line 2755  register int yield = 0;
2755  while (posix_name_lengths[yield] != 0)  while (posix_name_lengths[yield] != 0)
2756    {    {
2757    if (len == posix_name_lengths[yield] &&    if (len == posix_name_lengths[yield] &&
2758      STRNCMP_UC_C8(ptr, pn, len) == 0) return yield;      STRNCMP_UC_C8(ptr, pn, (unsigned int)len) == 0) return yield;
2759    pn += posix_name_lengths[yield] + 1;    pn += posix_name_lengths[yield] + 1;
2760    yield++;    yield++;
2761    }    }
# Line 3053  check_auto_possessive(const pcre_uchar * Line 3053  check_auto_possessive(const pcre_uchar *
3053  pcre_uint32 c = NOTACHAR;  pcre_uint32 c = NOTACHAR;
3054  pcre_uint32 next;  pcre_uint32 next;
3055  int escape;  int escape;
3056  int op_code = *previous++;  pcre_uchar op_code = *previous++;
3057    
3058  /* Skip whitespace and comments in extended mode */  /* Skip whitespace and comments in extended mode */
3059    
# Line 3251  if (escape == 0) Line 3251  if (escape == 0)
3251    
3252  #ifdef SUPPORT_UCP  #ifdef SUPPORT_UCP
3253      case OP_PROP:      case OP_PROP:
3254      return check_char_prop(next, previous[0], previous[1], FALSE);      return check_char_prop(next, (int)previous[0], (int)previous[1], FALSE);
3255    
3256      case OP_NOTPROP:      case OP_NOTPROP:
3257      return check_char_prop(next, previous[0], previous[1], TRUE);      return check_char_prop(next, (int)previous[0], (int)previous[1], TRUE);
3258  #endif  #endif
3259    
3260      default:      default:

Legend:
Removed from v.1073  
changed lines
  Added in v.1076

  ViewVC Help
Powered by ViewVC 1.1.5