From 12d3d4c3edfcf177c56ca97e5a4b0c8301ca46aa Mon Sep 17 00:00:00 2001 From: John Keeping Date: Sun, 8 Mar 2015 16:32:17 +0000 Subject: Avoid signed bitfields Bitfields are only defined for unsigned types. Detected by sparse. Signed-off-by: John Keeping --- ui-diff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui-diff.c') diff --git a/ui-diff.c b/ui-diff.c index 8eff178..1cf2ce0 100644 --- a/ui-diff.c +++ b/ui-diff.c @@ -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; -- cgit v1.2.3-70-g09d2