lkml.org 
[lkml]   [2006]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] oss/via: make bitfield unsigned
From: Randy Dunlap <rdunlap@xenotime.net>

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>
---
sound/oss/via82cxxx_audio.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2617-g11.orig/sound/oss/via82cxxx_audio.c
+++ linux-2617-g11/sound/oss/via82cxxx_audio.c
@@ -308,7 +308,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 */


---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-06-28 02:56    [W:0.026 / U:1.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site