From a448bc70793c984c1d5e152b3f9c8de393085f6c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 23 Dec 2021 11:19:40 +0530 Subject: [PATCH] Fix building on latest VS 2019 --- src/calibre/utils/matcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;