diff --git a/src/calibre/utils/matcher.c b/src/calibre/utils/matcher.c index 655d2f2d48..af19fad158 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;