All of lore.kernel.org
 help / color / mirror / Atom feed
* master - coverity: avoid using signed types for single bits
@ 2016-04-21 23:18 Zdenek Kabelac
  0 siblings, 0 replies; only message in thread
From: Zdenek Kabelac @ 2016-04-21 23:18 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=0bf55186263de96c0f7377c631d27d9679d4df27
Commit:        0bf55186263de96c0f7377c631d27d9679d4df27
Parent:        412f09ca332c644e08421e289a3e8d54890971ba
Author:        Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate:    Thu Apr 21 20:54:54 2016 +0200
Committer:     Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Fri Apr 22 01:12:34 2016 +0200

coverity: avoid using signed types for single bits

---
 lib/metadata/lv.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/metadata/lv.h b/lib/metadata/lv.h
index da81419..08fc090 100644
--- a/lib/metadata/lv.h
+++ b/lib/metadata/lv.h
@@ -94,8 +94,8 @@ struct historical_logical_volume {
 	uint64_t timestamp_removed;
 	struct generic_logical_volume *indirect_origin;
 	struct dm_list indirect_glvs; /* list of struct generic_logical_volume */
-	int checked:1; /* set if this historical LV has been checked for validity */
-	int valid:1;   /* historical LV is valid if there's at least one live LV among ancestors */
+	unsigned checked:1; /* set if this historical LV has been checked for validity */
+	unsigned valid:1;   /* historical LV is valid if there's at least one live LV among ancestors */
 };
 
 struct generic_logical_volume {



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-21 23:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-21 23:18 master - coverity: avoid using signed types for single bits Zdenek Kabelac

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.