lib/replace: fix rep_strtoull() prototype
[samba.git] / lib / replace / replace.c
index 5ecda9226f01711e7269c7baba52ddf94491be03..d9a96ff8ef9219e92cd7ed09b3971b60c6da16f0 100644 (file)
@@ -558,7 +558,7 @@ unsigned long long int rep_strtoull(const char *str, char **endptr, int base)
 #else
 #ifdef HAVE_BSD_STRTOLL
 #ifdef HAVE_STRTOUQ
-long long int rep_strtoull(const char *str, char **endptr, int base)
+unsigned long long int rep_strtoull(const char *str, char **endptr, int base)
 {
        unsigned long long int nb = strtouq(str, endptr, base);
        /* In linux EINVAL is only returned if base is not ok */