diff options
author | John Keeping <john@keeping.me.uk> | 2015-03-08 16:32:17 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2015-03-09 17:38:46 +0100 |
commit | 12d3d4c3edfcf177c56ca97e5a4b0c8301ca46aa (patch) | |
tree | bae9ba5a16e0cbd0aa698d8635927b8b122a476c /ui-diff.c | |
parent | e3d3fffdd447cdb4551549faae65bae5353a2cab (diff) |
Avoid signed bitfields
Bitfields are only defined for unsigned types.
Detected by sparse.
Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'ui-diff.c')
-rw-r--r-- | ui-diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ static struct fileinfo { unsigned int removed; unsigned long old_size; unsigned long new_size; - int binary:1; + unsigned int binary:1; } *items; static int use_ssdiff = 0; |