summaryrefslogtreecommitdiffstats
path: root/schedutils/taskset.c
diff options
context:
space:
mode:
authorKarel Zak2011-07-29 10:51:06 +0200
committerKarel Zak2011-07-29 10:51:06 +0200
commit9feec79cc5bff9e0eb09153cc35c344176eb1094 (patch)
tree95182f0fce1b1eefbeb279e010afe1e32164a0bc /schedutils/taskset.c
parentdocs: update AUTHORS file (diff)
downloadkernel-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 'schedutils/taskset.c')
-rw-r--r--schedutils/taskset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/schedutils/taskset.c b/schedutils/taskset.c
index 3a0db8f7e..1457c651d 100644
--- a/schedutils/taskset.c
+++ b/schedutils/taskset.c
@@ -41,7 +41,7 @@ struct taskset {
size_t setsize;
char *buf; /* buffer for conversion from mask to string */
size_t buflen;
- int use_list:1, /* use list rather than masks */
+ unsigned int use_list:1, /* use list rather than masks */
get_only:1; /* print the mask, but not modify */
};