diff options
author | Florian Westphal <fw@strlen.de> | 2017-04-04 20:46:01 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-04-08 22:30:39 +0200 |
commit | cd3877cd4a7c4943dc29c274366795f02c42feb0 (patch) | |
tree | 9c4f36ba74db7dd7639212b27c5fb28c87239aca /src/datatype.c | |
parent | 65666972f8d33b8594843568fb4c6f819d4a3e78 (diff) |
src: fix build warning on i686
datatype.c:182:13: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=] printf("%lu", val);
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/datatype.c')
-rw-r--r-- | src/datatype.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datatype.c b/src/datatype.c index 06a045bc..d2eed769 100644 --- a/src/datatype.c +++ b/src/datatype.c @@ -179,7 +179,7 @@ void symbolic_constant_print(const struct symbol_table *tbl, printf("\""); if (numeric_output > NUMERIC_ALL) - printf("%lu", val); + printf("%"PRIu64"", val); else printf("%s", s->identifier); |