diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2009-06-13 02:55:34 +0000 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2009-06-13 02:55:34 +0000 |
commit | 4a124536a4f422a36e47aa021e53f6d07893e451 (patch) | |
tree | 44c2792b9cddf89dbc673d35f8e3b3c6fcf52e20 /src | |
parent | 16a44fad67d6a6fcc12779f094aa5abae20ee10e (diff) | |
download | librcc-4a124536a4f422a36e47aa021e53f6d07893e451.tar.gz librcc-4a124536a4f422a36e47aa021e53f6d07893e451.tar.bz2 librcc-4a124536a4f422a36e47aa021e53f6d07893e451.tar.xz librcc-4a124536a4f422a36e47aa021e53f6d07893e451.zip |
Fix of strnlen definition
it should return size_t, not int
Diffstat (limited to 'src')
-rw-r--r-- | src/rccstring.h | 2 |
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); |