1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

s3:lib fix wrong usage of PRIu64 in sscanf

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Christian Ambach 2013-04-16 12:39:39 +02:00
parent a4cc41d4d0
commit 24ce31a33f

View File

@ -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++;