tar: pacify GCC 5.1 -Wformat-signedness

* lib/wordsplit.c (struct wordsplit_node.flags):
Now unsigned, so that 'printf ("%x", p->flags)' doesn't provoke GCC.
* src/incremen.c (read_num, dumpdir_ok):
Don't printf an int with %x or %o.
This commit is contained in:
Paul Eggert
2015-07-13 09:29:51 -07:00
parent 15c02c2b9d
commit da06935f6e
2 changed files with 12 additions and 8 deletions

View File

@@ -221,7 +221,7 @@ struct wordsplit_node
{
struct wordsplit_node *prev; /* Previous element */
struct wordsplit_node *next; /* Next element */
int flags; /* Node flags */
unsigned flags; /* Node flags */
union
{
struct