mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-08 16:11:18 +00:00
strnlen should return size_t
PUBLISHED_FROM=545c7d80380c48332803ef00981763b130a1c1c6
This commit is contained in:
1 parent
2a4ca9d5c3
commit
b97d3fea4b
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -483,7 +483,7 @@ int c_vsnprintf(char *buf, size_t buf_size, const char *format, va_list ap);
|
||||
#if !(_XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L) && \
|
||||
!(__DARWIN_C_LEVEL >= 200809L) && !defined(RTOS_SDK) || \
|
||||
defined(_WIN32)
|
||||
int strnlen(const char *s, size_t maxlen);
|
||||
size_t strnlen(const char *s, size_t maxlen);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in new issue
Block a user