needforspeed: use Py_ssize_t for the fastsearch counter and skip

length (thanks, neal!).  and yes, I've verified that this doesn't
slow things down ;-)
This commit is contained in:
Fredrik Lundh 2006-05-26 10:27:17 +00:00
parent 450277fef5
commit f2c0dfdb13
2 changed files with 2 additions and 2 deletions

View file

@ -3884,7 +3884,7 @@ LOCAL(Py_ssize_t)
fastsearch(Py_UNICODE* s, Py_ssize_t n, Py_UNICODE* p, Py_ssize_t m, int mode)
{
long mask;
int skip, count = 0;
Py_ssize_t skip, count = 0;
Py_ssize_t i, j, mlast, w;
w = n - m;