Commit 5e1fb282 by Russell Belfer

Merge pull request #1800 from ethomson/mingw_warnings

Quiet down some warnings
parents adf96282 8255b497
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment