summaryrefslogtreecommitdiffstats
path: root/app-i18n/librcc/files/librcc-strnlen.patch
blob: 5c2cec7dda5c9305891a5950fcb0806a7be02229 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- orig/src/rccstring.h
+++ mod/src/rccstring.h
@@ -40,7 +40,7 @@
 
 #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);