[PATCH] oss/via: make bitfield unsigned
authorRandy Dunlap <rdunlap@xenotime.net>
Wed, 28 Jun 2006 11:26:58 +0000 (04:26 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 21:59:06 +0000 (14:59 -0700)
Make a 1-bit field unsigned like all of the others near it.
sound/oss/via82cxxx_audio.c:311:21: error: dubious one-bit signed bitfield

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
sound/oss/via82cxxx_audio.c

index 2343dedd44ae305850661b236becb6456a0014bc..29a6e0cff79f793557f9ee49d7dae200efbf2018 100644 (file)
@@ -309,7 +309,7 @@ struct via_info {
        unsigned sixchannel: 1; /* 8233/35 with 6 channel support */
        unsigned volume: 1;
 
-       int locked_rate : 1;
+       unsigned locked_rate : 1;
        
        int mixer_vol;          /* 8233/35 volume  - not yet implemented */