summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-04-16 12:39:39 +0200
committerChristian Ambach <ambi@samba.org>2013-05-06 16:33:38 +0200
commit24ce31a33ff15b11e5c5024b911637a46bbd59ea (patch)
tree664b9c3bf8e24e8acabe784d16e2c84bcd639da8 /source3/lib
parenta4cc41d4d0ef42915694e10cd819462523b92a3b (diff)
downloadsamba-24ce31a33ff15b11e5c5024b911637a46bbd59ea.tar.gz
samba-24ce31a33ff15b11e5c5024b911637a46bbd59ea.tar.bz2
samba-24ce31a33ff15b11e5c5024b911637a46bbd59ea.zip
s3:lib fix wrong usage of PRIu64 in sscanf
Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index aa77d75ad3..314c7eac33 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -852,7 +852,7 @@ uint64_t STR_TO_SMB_BIG_UINT(const char *nptr, const char **entptr)
while (*p && isspace(*p))
p++;
- sscanf(p,"%"PRIu64,&val);
+ sscanf(p,"%"SCNu64,&val);
if (entptr) {
while (*p && isdigit(*p))
p++;