summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/rccstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rccstring.h b/src/rccstring.h
index 9847005..40bda89 100644
--- a/src/rccstring.h
+++ b/src/rccstring.h
@@ -40,7 +40,7 @@ int rccStringChangeID(rcc_string string, rcc_language_id language_id);
#ifdef HAVE_STRNLEN
# ifndef strnlen
-int strnlen(const char *str, size_t size);
+size_t strnlen(const char *str, size_t size);
# endif /* !strnlen */
#else
int rccStrnlen(const char *str, size_t size);