patch-1.3.39 linux/drivers/sound/audio.c
Next file: linux/drivers/sound/sb16_dsp.c
Previous file: linux/drivers/scsi/st.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Nov 9 10:04:33 1995
- Orig file:
v1.3.38/linux/drivers/sound/audio.c
- Orig date:
Wed Nov 8 07:11:35 1995
diff -u --recursive --new-file v1.3.38/linux/drivers/sound/audio.c linux/drivers/sound/audio.c
@@ -58,7 +58,7 @@
static int local_conversion[MAX_AUDIO_DEV];
static int
-set_format (int dev, int fmt)
+set_format (int dev, long fmt)
{
if (fmt != AFMT_QUERY)
{
@@ -87,7 +87,7 @@
audio_open (int dev, struct fileinfo *file)
{
int ret;
- int bits;
+ long bits;
int dev_type = dev & 0x0f;
int mode = file->mode & O_ACCMODE;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this