summaryrefslogtreecommitdiffstats
path: root/lib/replace/replace.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-10-22 08:44:29 +0200
committerStefan Metzmacher <metze@samba.org>2010-10-23 08:49:28 +0200
commitd65896cc3c5e67508e295e6d64193210e958971c (patch)
treed36d23a539ea94847f8079fbdb84700539727815 /lib/replace/replace.c
parent272feb7bd133344e88864ffc75d251451ddd681c (diff)
downloadsamba-d65896cc3c5e67508e295e6d64193210e958971c.tar.gz
samba-d65896cc3c5e67508e295e6d64193210e958971c.tar.xz
samba-d65896cc3c5e67508e295e6d64193210e958971c.zip
lib/replace: fix rep_strtoull() prototype
metze
Diffstat (limited to 'lib/replace/replace.c')
-rw-r--r--lib/replace/replace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/replace.c b/lib/replace/replace.c
index 5ecda9226f0..d9a96ff8ef9 100644
--- a/lib/replace/replace.c
+++ b/lib/replace/replace.c
@@ -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 */