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

Diff of /code/trunk/pcretest.c

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

revision 903 by ph10, Sat Jan 21 16:37:17 2012 UTC revision 904 by ph10, Mon Jan 23 17:30:49 2012 UTC
# Line 1271  pcre_uint8 *here = start; Line 1271  pcre_uint8 *here = start;
1271    
1272  for (;;)  for (;;)
1273    {    {
1274    int rlen = (int)(buffer_size - (here - buffer));    size_t rlen = (size_t)(buffer_size - (here - buffer));
1275    
1276    if (rlen > 1000)    if (rlen > 1000)
1277      {      {
# Line 4293  while (!done) Line 4293  while (!done)
4293              break;              break;
4294    
4295              default:              default:
4296              if (count < 0 && (-count) < sizeof(errtexts)/sizeof(const char *))              if (count < 0 &&
4297                    (-count) < (int)(sizeof(errtexts)/sizeof(const char *)))
4298                fprintf(outfile, "Error %d (%s)\n", count, errtexts[-count]);                fprintf(outfile, "Error %d (%s)\n", count, errtexts[-count]);
4299              else              else
4300                fprintf(outfile, "Error %d (Unexpected value)\n", count);                fprintf(outfile, "Error %d (Unexpected value)\n", count);

Legend:
Removed from v.903  
changed lines
  Added in v.904

  ViewVC Help
Powered by ViewVC 1.1.5