summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/stringobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index 560e30f..1088d3f 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -799,7 +799,7 @@ PyString_AsStringAndSize(register PyObject *obj,
#define FAST_SEARCH 1
LOCAL(Py_ssize_t)
- fastsearch(const unsigned char* s, Py_ssize_t n, const unsigned char* p,
+ fastsearch(const char* s, Py_ssize_t n, const char* p,
Py_ssize_t m, int mode)
{
long mask;