mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-23 16:21:50 +01:00
Fix calloc in CdStreamPosix
This commit is contained in:
parent
94bf7d9ea1
commit
7036e80fc6
@ -168,7 +168,7 @@ CdStreamInit(int32 numChannels)
|
|||||||
|
|
||||||
gNumChannels = numChannels;
|
gNumChannels = numChannels;
|
||||||
|
|
||||||
gpReadInfo = (CdReadInfo *)calloc(sizeof(CdReadInfo), numChannels);
|
gpReadInfo = (CdReadInfo *)calloc(numChannels, sizeof(CdReadInfo));
|
||||||
ASSERT( gpReadInfo != nil );
|
ASSERT( gpReadInfo != nil );
|
||||||
|
|
||||||
CDDEBUG("read info %p", gpReadInfo);
|
CDDEBUG("read info %p", gpReadInfo);
|
||||||
|
Loading…
Reference in New Issue
Block a user