summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/portaudio/src/common/pa_trace.c
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/portaudio/src/common/pa_trace.c')
-rw-r--r--3rdparty/portaudio/src/common/pa_trace.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/3rdparty/portaudio/src/common/pa_trace.c b/3rdparty/portaudio/src/common/pa_trace.c
index 818abffbeec..7fd589ee4c5 100644
--- a/3rdparty/portaudio/src/common/pa_trace.c
+++ b/3rdparty/portaudio/src/common/pa_trace.c
@@ -27,13 +27,13 @@
*/
/*
- * The text above constitutes the entire PortAudio license; however,
+ * The text above constitutes the entire PortAudio license; however,
* the PortAudio community also makes the following non-binding requests:
*
* Any person wishing to distribute modifications to the Software is
* requested to send the modifications to the original developer so that
- * they can be incorporated into the canonical version. It is also
- * requested that these non-binding requests be included along with the
+ * they can be incorporated into the canonical version. It is also
+ * requested that these non-binding requests be included along with the
* license above.
*/
@@ -120,7 +120,7 @@ static const unsigned kMagik = 0xcafebabe;
int PaUtil_InitializeHighSpeedLog( LogHandle* phLog, unsigned maxSizeInBytes )
{
- PaHighPerformanceLog* pLog = (PaHighPerformanceLog*)PaUtil_AllocateMemory(sizeof(PaHighPerformanceLog));
+ PaHighPerformanceLog* pLog = (PaHighPerformanceLog*)PaUtil_AllocateZeroInitializedMemory(sizeof(PaHighPerformanceLog));
if (pLog == 0)
{
return paInsufficientMemory;
@@ -128,7 +128,7 @@ int PaUtil_InitializeHighSpeedLog( LogHandle* phLog, unsigned maxSizeInBytes )
assert(phLog != 0);
*phLog = pLog;
- pLog->data = (char*)PaUtil_AllocateMemory(maxSizeInBytes);
+ pLog->data = (char*)PaUtil_AllocateZeroInitializedMemory(maxSizeInBytes);
if (pLog->data == 0)
{
PaUtil_FreeMemory(pLog);
@@ -233,6 +233,6 @@ void PaUtil_DiscardHighSpeedLog( LogHandle hLog )
*/
int PaUtil_TraceStubToSatisfyLinker(void)
{
- return 0;
+ return 0;
}
#endif /* TRACE_REALTIME_EVENTS */