diff options
Diffstat (limited to '')
-rw-r--r-- | src/core/CdStreamPosix.cpp | 2 |
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); |