summaryrefslogtreecommitdiff
path: root/audio/xmms/patches/patch-ar
blob: f51fe7554dc7e66ffe8fe188a03c85acb46d4fa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ar,v 1.3 2007/06/13 22:29:21 wiz Exp $

--- Output/OSS/mixer.c.orig	2001-06-16 13:30:35.000000000 +0000
+++ Output/OSS/mixer.c
@@ -34,7 +34,8 @@ static char* get_mixer_device(void)
 
 void oss_get_volume(int *l, int *r)
 {
-	int fd, v, cmd, devs;
+	int fd, v, devs;
+	unsigned long cmd;
 	gchar *devname;
 
 	devname = get_mixer_device();
@@ -66,7 +67,8 @@ void oss_get_volume(int *l, int *r)
 
 void oss_set_volume(int l, int r)
 {
-	int fd, v, cmd, devs;
+	int fd, v, devs;
+	unsigned long cmd;
 	gchar *devname;
 
 	devname = get_mixer_device();