Skip to content

Commit

Permalink
CompatSet.h: fix format qualifier
Browse files Browse the repository at this point in the history
Fix for:

[src/include/CompatSet.h:112]: (warning) %lld in format string (no. 1)
 requires 'long long' but the argument type is 'unsigned long long'.

Signed-off-by: Danny Al-Gaaf <[email protected]>
  • Loading branch information
dalgaaf committed Oct 25, 2017
1 parent 82c815a commit f8cc3e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/CompatSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ struct CompatSet {
p != names.end();
++p) {
char s[18];
snprintf(s, sizeof(s), "feature_%lld", (unsigned long long)p->first);
snprintf(s, sizeof(s), "feature_%llu", (unsigned long long)p->first);
f->dump_string(s, p->second);
}
}
Expand Down

0 comments on commit f8cc3e2

Please sign in to comment.