Skip to contentSkip to conversation

oss/via: make bitfield unsigned

PATCH New Randy.Dunlap 1 participant 1 message Jun 28, 2006 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 oss/via: make bitfield unsigned

From: Randy Dunlap <[email protected]>

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

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

---