More Py_ssize_t format characters.

This commit is contained in:
Thomas Wouters 2006-02-16 21:10:52 +00:00
parent 2ad8c56e6c
commit dde176593d

View file

@ -245,7 +245,7 @@ mmap_find_method(mmap_object *self,
int len;
CHECK_VALID(NULL);
if (!PyArg_ParseTuple (args, "s#|l:find", &needle, &len, &start)) {
if (!PyArg_ParseTuple (args, "s#|n:find", &needle, &len, &start)) {
return NULL;
} else {
char *p;