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

Diff of /code/trunk/pcreposix.c

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

revision 529 by ph10, Sat May 22 19:03:35 2010 UTC revision 530 by ph10, Tue Jun 1 13:42:06 2010 UTC
# Line 338  if ((eflags & REG_STARTEND) != 0) Line 338  if ((eflags & REG_STARTEND) != 0)
338  else  else
339    {    {
340    so = 0;    so = 0;
341    eo = strlen(string);    eo = (int)strlen(string);
342    }    }
343    
344  rc = pcre_exec((const pcre *)preg->re_pcre, NULL, string + so, (eo - so),  rc = pcre_exec((const pcre *)preg->re_pcre, NULL, string + so, (eo - so),
345    0, options, ovector, nmatch * 3);    0, options, ovector, (int)(nmatch * 3));
346    
347  if (rc == 0) rc = nmatch;    /* All captured slots were filled in */  if (rc == 0) rc = (int)nmatch;    /* All captured slots were filled in */
348    
349  /* Successful match */  /* Successful match */
350    

Legend:
Removed from v.529  
changed lines
  Added in v.530

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12