/[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 912 by ph10, Mon Jan 23 17:30:49 2012 UTC revision 913 by ph10, Sun Feb 12 17:06:59 2012 UTC
# Line 6208  const pcre_study_data *study; Line 6208  const pcre_study_data *study;
6208  const REAL_PCRE *re = (const REAL_PCRE *)argument_re;  const REAL_PCRE *re = (const REAL_PCRE *)argument_re;
6209    
6210  /* Check for the special magic call that measures the size of the stack used  /* Check for the special magic call that measures the size of the stack used
6211  per recursive call of match(). */  per recursive call of match(). Without the funny casting for sizeof, a Windows
6212    compiler gave this error: "unary minus operator applied to unsigned type,
6213    result still unsigned". Hopefully the cast fixes that. */
6214    
6215  if (re == NULL && extra_data == NULL && subject == NULL && length == -999 &&  if (re == NULL && extra_data == NULL && subject == NULL && length == -999 &&
6216      start_offset == -999)      start_offset == -999)
6217  #ifdef NO_RECURSE  #ifdef NO_RECURSE
6218    return -sizeof(heapframe);    return -((int)sizeof(heapframe));
6219  #else  #else
6220    return match(NULL, NULL, NULL, 0, NULL, NULL, 0);    return match(NULL, NULL, NULL, 0, NULL, NULL, 0);
6221  #endif  #endif

Legend:
Removed from v.912  
changed lines
  Added in v.913

  ViewVC Help
Powered by ViewVC 1.1.5