Skip to contentSkip to conversation

PATCH: trivial sound static/cast fixes

PATCH Alan Cox 1 participant 1 message Oct 8, 2002 Sound

lore
Share & tools
lore

Alan Cox

author
#0 lore raw
sound/oss/maestro3.c +2 -2
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.41/sound/oss/maestro3.c linux.2.5.41-ac1/sound/oss/maestro3.c
@@ -192,8 +192,8 @@
     int max;
 };
 
-int external_amp = 1;
-int gpio_pin = -1;
+static int external_amp = 1;
+static int gpio_pin = -1;
 
 struct m3_state {
     unsigned int magic;
sound/oss/opl3sa2.c +1 -1
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.41/sound/oss/opl3sa2.c linux.2.5.41-ac1/sound/oss/opl3sa2.c
@@ -978,7 +978,7 @@
 
 static int opl3sa2_pm_callback(struct pm_dev *pdev, pm_request_t rqst, void *data)
 {
-	unsigned char mode = (unsigned  char)data;
+	unsigned long mode = (unsigned  long)data;
 
 	switch (rqst) {
 		case PM_SUSPEND: