Skip to content

Commit bdf9651

Browse files
committed
MSVC: Fix warning C4133 on x64: "function": Incompatible types - from "unsigned long *" to "size_t *"
Signed-off-by: Sven Strickroth <email@cs-ware.de>
1 parent 4fe52df commit bdf9651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/regexp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ int git_regexp_search(const git_regexp *r, const char *string, size_t nmatches,
7878
int git_regexp_compile(git_regexp *r, const char *pattern, int flags)
7979
{
8080
unsigned char errmsg[1024];
81-
unsigned long erroff;
81+
PCRE2_SIZE erroff;
8282
int error, cflags = 0;
8383

8484
if (flags & GIT_REGEXP_ICASE)

0 commit comments

Comments
 (0)