summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorshfil <filip.gawin@zoho.com>2020-05-13 17:48:07 +0200
committerGitHub <noreply@github.com>2020-05-13 17:48:07 +0200
commit7036e80fc692f49d9997a16d05762bc295f96a97 (patch)
tree0416d1466be376a4bcfac345afce45983a29a130 /src
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadre3-7036e80fc692f49d9997a16d05762bc295f96a97.tar
re3-7036e80fc692f49d9997a16d05762bc295f96a97.tar.gz
re3-7036e80fc692f49d9997a16d05762bc295f96a97.tar.bz2
re3-7036e80fc692f49d9997a16d05762bc295f96a97.tar.lz
re3-7036e80fc692f49d9997a16d05762bc295f96a97.tar.xz
re3-7036e80fc692f49d9997a16d05762bc295f96a97.tar.zst
re3-7036e80fc692f49d9997a16d05762bc295f96a97.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/CdStreamPosix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/CdStreamPosix.cpp b/src/core/CdStreamPosix.cpp
index 7c49f5f1..4d6bcdab 100644
--- a/src/core/CdStreamPosix.cpp
+++ b/src/core/CdStreamPosix.cpp
@@ -168,7 +168,7 @@ CdStreamInit(int32 numChannels)
gNumChannels = numChannels;
- gpReadInfo = (CdReadInfo *)calloc(sizeof(CdReadInfo), numChannels);
+ gpReadInfo = (CdReadInfo *)calloc(numChannels, sizeof(CdReadInfo));
ASSERT( gpReadInfo != nil );
CDDEBUG("read info %p", gpReadInfo);