patch-2.4.9 linux/drivers/sound/emu10k1/cardwo.c
Next file: linux/drivers/sound/emu10k1/hwaccess.h
Previous file: linux/drivers/sound/emu10k1/cardwi.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Aug 15 01:22:16 2001
- Orig file:
v2.4.8/linux/drivers/sound/emu10k1/cardwo.c
- Orig date:
Sun Aug 12 13:28:00 2001
diff -u --recursive --new-file v2.4.8/linux/drivers/sound/emu10k1/cardwo.c linux/drivers/sound/emu10k1/cardwo.c
@@ -581,7 +581,7 @@
u32 sizetocopy, sizetocopy_now, start;
unsigned long flags;
- sizetocopy = min(buffer->size, *size);
+ sizetocopy = min(u32, buffer->size, *size);
*size = sizetocopy;
if (!sizetocopy)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)