Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb884c6

Browse files
authored
Merge pull request libgit2#4555 from libgit2/ethomson/strncmp_stdcall
win32: strncmp -> git__strncmp for win32 STDCALL
2 parents c9d59c6 + a33deeb commit fb884c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ignore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ static int does_negate_pattern(git_attr_fnmatch *rule, git_attr_fnmatch *neg)
5959
if (neg->flags & GIT_ATTR_FNMATCH_ICASE)
6060
cmp = git__strncasecmp;
6161
else
62-
cmp = strncmp;
62+
cmp = git__strncmp;
6363

6464
/* If lengths match we need to have an exact match */
6565
if (rule->length == neg->length) {

0 commit comments

Comments
 (0)