]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] arch/i386/kernel/apm.c: fix sparse warnings
authorDomen Puncer <domen@coderock.org>
Sat, 25 Jun 2005 21:58:45 +0000 (14:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:58 +0000 (16:24 -0700)
Signed-off-by: Alexey Dobriyan <adobriyan@mail.ru>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/apm.c

index 0ff65abcd56c3c1139b4849a80228f555785c655..d48ce929096316bb433956ab4a278a159b12ff59 100644 (file)
@@ -346,10 +346,10 @@ extern int (*console_blank_hook)(int);
 struct apm_user {
        int             magic;
        struct apm_user *       next;
-       int             suser: 1;
-       int             writer: 1;
-       int             reader: 1;
-       int             suspend_wait: 1;
+       unsigned int    suser: 1;
+       unsigned int    writer: 1;
+       unsigned int    reader: 1;
+       unsigned int    suspend_wait: 1;
        int             suspend_result;
        int             suspends_pending;
        int             standbys_pending;