commit 357dd5140558a044fe52a2d3ff7abb1153f9968a
Author: Oswald Buddenhagen <o...@users.sf.net>
Date:   Thu Dec 29 15:06:22 2016 +0100

    adjust return type of strnlen() replacement
    
    it doesn't really matter, but it's nicer to stay consistent with the
    official prototype.

 src/util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/util.c b/src/util.c
index ca4e415..c226c1b 100644
--- a/src/util.c
+++ b/src/util.c
@@ -222,7 +222,7 @@ memrchr( const void *s, int c, size_t n )
 #endif
 
 #ifndef HAVE_STRNLEN
-int
+size_t
 strnlen( const char *str, size_t maxlen )
 {
        size_t len;

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to