diff options
author | Edward Thomson <ethomson@microsoft.com> | 2013-08-19 17:49:12 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2013-08-19 17:49:53 -0500 |
commit | 8255b497b625735acab527f15617daa19f796165 (patch) | |
tree | 84acf710574a0ad13e6657832387200b235a0dc4 /src/win32 | |
parent | adf96282624b1528aeca05681c375125487a445d (diff) | |
download | libgit2-8255b497b625735acab527f15617daa19f796165.tar.gz |
Quiet down some warnings
Diffstat (limited to 'src/win32')
-rw-r--r-- | src/win32/mingw-compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/mingw-compat.h b/src/win32/mingw-compat.h index 97b1cb71b..fe0abfb54 100644 --- a/src/win32/mingw-compat.h +++ b/src/win32/mingw-compat.h @@ -21,7 +21,7 @@ GIT_INLINE(size_t) p_strnlen(const char *s, size_t maxlen) { const char *end = memchr(s, 0, maxlen); - return end ? (end - s) : maxlen; + return end ? (size_t)(end - s) : maxlen; } #endif |