--- code/trunk/pcretest.c 2010/05/18 15:47:01 518 +++ code/trunk/pcretest.c 2010/06/01 13:42:06 530 @@ -221,7 +221,7 @@ for (;;) { - int rlen = buffer_size - (here - buffer); + int rlen = (int)(buffer_size - (here - buffer)); if (rlen > 1000) { @@ -1163,7 +1163,7 @@ } pp = p; - poffset = p - buffer; + poffset = (int)(p - buffer); for(;;) { @@ -2080,7 +2080,7 @@ *q++ = c; } *q = 0; - len = q - dbuffer; + len = (int)(q - dbuffer); /* Move the data to the end of the buffer so that a read over the end of the buffer will be seen by valgrind, even if it doesn't cause a crash. If