Skip to contentSkip to conversation

master - cleanup: use unsigned type for command

PATCH Zdenek Kabelac 1 participant 1 message Jul 2, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=52ab15b2d0803fee480c404a458f3b568507a53a
Commit:        52ab15b2d0803fee480c404a458f3b568507a53a
Parent:        57f8b33d5de8c93ee48f4d1caa69ac3fd45d05d0
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Jul 2 10:27:13 2014 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed Jul 2 10:45:43 2014 +0200

cleanup: use unsigned type for command

Keep command unsigned (as _IOWR() produces them).

---
 libdm/ioctl/libdm-targets.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
libdm/ioctl/libdm-targets.h +1 -1
index 8fc8738..54223c7 100644
@@ -74,7 +74,7 @@ struct dm_task {
 
 struct cmd_data {
 	const char *name;
-	const int cmd;
+	const unsigned cmd;
 	const int version[3];
 };