patch-1.3.36 linux/drivers/sound/midi_synth.c
Next file: linux/drivers/sound/midibuf.c
Previous file: linux/drivers/sound/maui.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Oct 18 05:33:25 1995
- Orig file:
v1.3.35/linux/drivers/sound/midi_synth.c
- Orig date:
Fri Oct 13 14:44:34 1995
diff -u --recursive --new-file v1.3.35/linux/drivers/sound/midi_synth.c linux/drivers/sound/midi_synth.c
@@ -284,7 +284,7 @@
{
case SNDCTL_SYNTH_INFO:
- memcpy_tofs (&(((char *) arg)[0]), (synth_devs[dev]->info), (sizeof (struct synth_info)));
+ memcpy_tofs ((&((char *) arg)[0]), synth_devs[dev]->info, sizeof (struct synth_info));
return 0;
break;
@@ -526,7 +526,7 @@
* been transferred already.
*/
- memcpy_fromfs ((&((char *) &sysex)[offs]), &((addr)[offs]), (hdr_size - offs));
+ memcpy_fromfs (&((char *) &sysex)[offs], &((addr)[offs]), hdr_size - offs);
if (count < sysex.len)
{
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