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

Diff of /code/trunk/pcre_exec.c

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

revision 778 by ph10, Thu Dec 1 17:38:47 2011 UTC revision 779 by ph10, Fri Dec 2 10:39:32 2011 UTC
# Line 217  else Line 217  else
217    while (length-- > 0) if (*p++ != *eptr++) return -1;    while (length-- > 0) if (*p++ != *eptr++) return -1;
218    }    }
219    
220  return eptr - eptr_start;  return (int)(eptr - eptr_start);
221  }  }
222    
223    
# Line 1070  for (;;) Line 1070  for (;;)
1070      if (offset < md->offset_max)      if (offset < md->offset_max)
1071        {        {
1072        matched_once = FALSE;        matched_once = FALSE;
1073        code_offset = ecode - md->start_code;        code_offset = (int)(ecode - md->start_code);
1074    
1075        save_offset1 = md->offset_vector[offset];        save_offset1 = md->offset_vector[offset];
1076        save_offset2 = md->offset_vector[offset+1];        save_offset2 = md->offset_vector[offset+1];
# Line 1160  for (;;) Line 1160  for (;;)
1160    
1161      POSSESSIVE_NON_CAPTURE:      POSSESSIVE_NON_CAPTURE:
1162      matched_once = FALSE;      matched_once = FALSE;
1163      code_offset = ecode - md->start_code;      code_offset = (int)(ecode - md->start_code);
1164    
1165      for (;;)      for (;;)
1166        {        {

Legend:
Removed from v.778  
changed lines
  Added in v.779

  ViewVC Help
Powered by ViewVC 1.1.5