diff options
author | Karel Zak | 2011-07-29 10:51:06 +0200 |
---|---|---|
committer | Karel Zak | 2011-07-29 10:51:06 +0200 |
commit | 9feec79cc5bff9e0eb09153cc35c344176eb1094 (patch) | |
tree | 95182f0fce1b1eefbeb279e010afe1e32164a0bc /misc-utils | |
parent | docs: update AUTHORS file (diff) | |
download | kernel-qcow2-util-linux-9feec79cc5bff9e0eb09153cc35c344176eb1094.tar.gz kernel-qcow2-util-linux-9feec79cc5bff9e0eb09153cc35c344176eb1094.tar.xz kernel-qcow2-util-linux-9feec79cc5bff9e0eb09153cc35c344176eb1094.zip |
misc: use unsigned int for bit-fileds
Reported-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils')
-rw-r--r-- | misc-utils/lsblk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c index e8e9a62c1..50b3bcc15 100644 --- a/misc-utils/lsblk.c +++ b/misc-utils/lsblk.c @@ -129,10 +129,10 @@ static struct colinfo infos[__NCOLUMNS] = { }; struct lsblk { - struct tt *tt; /* output table */ - int all_devices:1; /* print all devices */ - int bytes:1; /* print SIZE in bytes */ - int nodeps:1; /* don't print slaves/holders */ + struct tt *tt; /* output table */ + unsigned int all_devices:1; /* print all devices */ + unsigned int bytes:1; /* print SIZE in bytes */ + unsigned int nodeps:1; /* don't print slaves/holders */ }; struct lsblk *lsblk; /* global handler */ |