MSVC: Fix warning C4133 on x64: "function": Incompatible types - from "unsigned long *" to "size_t *" Signed-off-by: Sven Strickroth <email@cs-ware.de>
diff --git a/src/regexp.c b/src/regexp.c
index 05ed190..5fe49f3 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -78,7 +78,7 @@ out:
int git_regexp_compile(git_regexp *r, const char *pattern, int flags)
{
unsigned char errmsg[1024];
- unsigned long erroff;
+ PCRE2_SIZE erroff;
int error, cflags = 0;
if (flags & GIT_REGEXP_ICASE)