summaryrefslogtreecommitdiff
path: root/tests/path
diff options
context:
space:
mode:
authorlhchavez <lhchavez@lhchavez.com>2019-01-06 08:29:56 -0800
committerlhchavez <lhchavez@lhchavez.com>2019-01-06 08:29:56 -0800
commitb5e8272fdcab4e7f238a72d0b9c9fc9c753fd381 (patch)
tree413dcc28a6d67e6301028e2b77ca316c620efff7 /tests/path
parent7b453e7e39c6e27d63be0922a153e1cb47f33218 (diff)
downloadlibgit2-b5e8272fdcab4e7f238a72d0b9c9fc9c753fd381.tar.gz
Attempt at fixing the MingW64 compilation
It seems like MingW64's size_t is defined differently than in Linux.
Diffstat (limited to 'tests/path')
-rw-r--r--tests/path/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/path/win32.c b/tests/path/win32.c
index f45bf58b4..3ed7d7a6a 100644
--- a/tests/path/win32.c
+++ b/tests/path/win32.c
@@ -150,7 +150,7 @@ static void test_remove_namespace(const wchar_t *in, const wchar_t *expected)
cl_assert(wcslen(in) < MAX_PATH);
wcscpy(canonical, in);
- cl_must_pass(git_win32_path_remove_namespace(canonical, wcslen(in)));
+ git_win32_path_remove_namespace(canonical, wcslen(in));
cl_assert_equal_wcs(expected, canonical);
#else
GIT_UNUSED(in);