From 4a124536a4f422a36e47aa021e53f6d07893e451 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 13 Jun 2009 02:55:34 +0000 Subject: Fix of strnlen definition it should return size_t, not int --- src/rccstring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3