diff --git a/src/calibre/utils/matcher.c b/src/calibre/utils/matcher.c index 975c996f4f..a4c85cfb46 100644 --- a/src/calibre/utils/matcher.c +++ b/src/calibre/utils/matcher.c @@ -76,7 +76,7 @@ typedef struct { } StackItem; typedef struct { - ssize_t pos; + Py_ssize_t pos; int32_t needle_len; size_t size; StackItem *items;