From 52ab15b2d0803fee480c404a458f3b568507a53a Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 2 Jul 2014 10:27:13 +0200 Subject: [PATCH] cleanup: use unsigned type for command Keep command unsigned (as _IOWR() produces them). --- libdm/ioctl/libdm-targets.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdm/ioctl/libdm-targets.h b/libdm/ioctl/libdm-targets.h index 8fc873897..54223c752 100644 --- a/libdm/ioctl/libdm-targets.h +++ b/libdm/ioctl/libdm-targets.h @@ -74,7 +74,7 @@ struct dm_task { struct cmd_data { const char *name; - const int cmd; + const unsigned cmd; const int version[3]; };