2013-09-26 17:14:40 +02:00

14 lines
528 B
Plaintext

$NetBSD: patch-aa,v 1.2 2010/02/05 12:57:27 wiz Exp $
--- src/gtk_sound_driver_oss.cpp.orig 2009-11-30 22:37:11.000000000 +0000
+++ src/gtk_sound_driver_oss.cpp
@@ -125,7 +125,7 @@ S9xOSSSoundDriver::open_device (void)
printf ("OK\n");
printf (" --> (Frequency: %d)...", Settings.SoundPlaybackRate);
- if (ioctl (filedes, SNDCTL_DSP_SPEED, &Settings.SoundPlaybackRate) < 0)
+ if (ioctl (filedes, SNDCTL_DSP_SPEED, (void *)&Settings.SoundPlaybackRate) < 0)
goto close_fail;
printf ("OK\n");