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:
parent
a4cc41d4d0
commit
24ce31a33f
@ -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++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user