summaryrefslogtreecommitdiff
path: root/x11-wm/afterstep/files/patch-Audio.c
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2020-05-04 19:45:07 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2020-05-04 19:45:07 +0000
commit8e2fb9f31d451449086f63005a4608747c0025e6 (patch)
treec8f4967b39cbb54db8e18721970221c1db6bab4f /x11-wm/afterstep/files/patch-Audio.c
parentupdate shotwell to 0.30.9 (diff)
- fix warnings
Notes
Notes: svn path=/head/; revision=533977
Diffstat (limited to 'x11-wm/afterstep/files/patch-Audio.c')
-rw-r--r--x11-wm/afterstep/files/patch-Audio.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-wm/afterstep/files/patch-Audio.c b/x11-wm/afterstep/files/patch-Audio.c
new file mode 100644
index 000000000000..f86765604521
--- /dev/null
+++ b/x11-wm/afterstep/files/patch-Audio.c
@@ -0,0 +1,11 @@
+--- modules/Audio/Audio.c.orig 1997-04-19 20:36:39 UTC
++++ modules/Audio/Audio.c
+@@ -477,7 +477,7 @@ int audio_play(short sound)
+
+ if (sound_table[sound])
+ {
+- memset(buf,NULL,BUFSIZE);
++ memset(buf,0,BUFSIZE);
+
+ /*
+ * Don't use audio_play_dir if it's NULL or if the sound file