mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-23 19:54:59 -04:00
14 lines
528 B
Plaintext
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");
|