aboutsummaryrefslogtreecommitdiffstats
path: root/macosx-support-lib-patches/portaudio-pa_mac_core.c.patch
blob: 26354ee056852d10bb8ad0077e5ff2ef8eb8238b (plain)
1
2
3
4
5
6
7
8
9
10
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;