diff options
author | Brian Smith <brian@briansmith.org> | 2016-01-17 22:10:07 +0300 |
---|---|---|
committer | David Benjamin <davidben@google.com> | 2016-01-21 23:59:35 +0300 |
commit | d92f1d39a8ec18056f3fecd70d67797225f195ac (patch) | |
tree | ffed921a516c1b93f601ac4259e1b56f1f147429 /crypto/cpu-intel.c | |
parent | 8d3c43e4b1fc6fdc0562fe15aae4447554f65887 (diff) |
Fix |sscanf| format string in cpu-intel.c.
Fix the signness of the format flag in the |sscanf| call in cpu-intel.c.
Change-Id: I31251d79aa146bf9c78be47020ee83d30864a3d2
Reviewed-on: https://boringssl-review.googlesource.com/6921
Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'crypto/cpu-intel.c')
-rw-r--r-- | crypto/cpu-intel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cpu-intel.c b/crypto/cpu-intel.c index 924bab04..6614f63f 100644 --- a/crypto/cpu-intel.c +++ b/crypto/cpu-intel.c @@ -127,7 +127,7 @@ static void handle_cpu_env(uint32_t *out, const char *in) { const int invert = in[0] == '~'; uint64_t v; - if (!sscanf(in + invert, "%" PRIi64, &v)) { + if (!sscanf(in + invert, "%" PRIu64, &v)) { return; } |