Skip to contentSkip to conversation

master - cov: use unsigned for single bit values

PATCH Zdenek Kabelac 1 participant 1 message Dec 12, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=48d33e5fb671af16f84d74afab9f86d47ca112fc
Commit:        48d33e5fb671af16f84d74afab9f86d47ca112fc
Parent:        56e4e2ce2ba05990eb4e8ced8a9a966b986f14ab
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Dec 12 11:21:42 2016 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Dec 12 11:21:42 2016 +0100

cov: use unsigned for single bit values

Avoid using signed int.

---
 libdm/libdm-report.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
libdm/libdm-report.c +2 -2
index ebd2439..93b8774 100644
@@ -95,8 +95,8 @@ struct report_group_item {
 		uint32_t finished_count;
 	} store;
 	struct report_group_item *parent;
-	int output_done:1;
-	int needs_closing:1;
+	unsigned output_done:1;
+	unsigned needs_closing:1;
 	void *data;
 };