diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-12-04 13:51:03 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-04 13:51:03 +1100 |
commit | ad1548e4ea292947beeecab3163bf23fa1bf129c (patch) | |
tree | c366d48559b06a2dc7fe371203058289462e6e25 | |
parent | 4fe52df64038316d02e92bf9816ef9074946d91a (diff) | |
parent | bdf965125c3abb468bea2d2a4d1d88ed4d8f1f92 (diff) | |
download | libgit2-ad1548e4ea292947beeecab3163bf23fa1bf129c.tar.gz |
Merge pull request #5317 from csware/size_t
MSVC: Fix warning C4133 on x64: "function": Incompatible types - from "unsigned long *" to "size_t *"
-rw-r--r-- | src/regexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regexp.c b/src/regexp.c index 05ed1907c..5fe49f37e 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) |