summaryrefslogtreecommitdiff
path: root/macosx-support-lib-patches
diff options
context:
space:
mode:
Diffstat (limited to 'macosx-support-lib-patches')
-rw-r--r--macosx-support-lib-patches/portaudio-pa_mac_core.c.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/macosx-support-lib-patches/portaudio-pa_mac_core.c.patch b/macosx-support-lib-patches/portaudio-pa_mac_core.c.patch
new file mode 100644
index 0000000000..26354ee056
--- /dev/null
+++ b/macosx-support-lib-patches/portaudio-pa_mac_core.c.patch
@@ -0,0 +1,11 @@
+--- macosx-support-libs/portaudio/src/hostapi/coreaudio/pa_mac_core.c.dist 2011-10-20 02:40:12.000000000 -0700
++++ macosx-support-libs/portaudio/src/hostapi/coreaudio/pa_mac_core.c 2013-06-27 03:13:57.000000000 -0700
+@@ -629,7 +629,7 @@
+
+ VVDBUG(("InitializeDeviceInfo(): macCoreDeviceId=%ld\n", macCoreDeviceId));
+
+- memset(deviceInfo, 0, sizeof(deviceInfo));
++ memset(deviceInfo, 0, sizeof(*deviceInfo));
+
+ deviceInfo->structVersion = 2;
+ deviceInfo->hostApi = hostApiIndex;