diff options
author | Andrew Udvare <audvare@gmail.com> | 2020-10-02 02:45:38 +0200 |
---|---|---|
committer | Andrew Udvare <audvare@gmail.com> | 2020-10-02 02:45:38 +0200 |
commit | f6bc2b654c4b6f8ae27646f1a166d3214f6f56aa (patch) | |
tree | 4de403674ba1f26c1c9062cd76cf07cd26917918 /src | |
parent | premake5: Place macosx-amd64 after arm64 (diff) | |
download | re3-f6bc2b654c4b6f8ae27646f1a166d3214f6f56aa.tar re3-f6bc2b654c4b6f8ae27646f1a166d3214f6f56aa.tar.gz re3-f6bc2b654c4b6f8ae27646f1a166d3214f6f56aa.tar.bz2 re3-f6bc2b654c4b6f8ae27646f1a166d3214f6f56aa.tar.lz re3-f6bc2b654c4b6f8ae27646f1a166d3214f6f56aa.tar.xz re3-f6bc2b654c4b6f8ae27646f1a166d3214f6f56aa.tar.zst re3-f6bc2b654c4b6f8ae27646f1a166d3214f6f56aa.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/CdStreamPosix.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/CdStreamPosix.cpp b/src/core/CdStreamPosix.cpp index 3d9316c9..40000f03 100644 --- a/src/core/CdStreamPosix.cpp +++ b/src/core/CdStreamPosix.cpp @@ -163,7 +163,7 @@ CdStreamInit(int32 numChannels) debug("Using no buffered loading for streaming\n"); } */ - void *pBuffer = (void *)RwMallocAlign(CDSTREAM_SECTOR_SIZE, fsInfo.f_bsize); + void *pBuffer = (void *)RwMallocAlign(CDSTREAM_SECTOR_SIZE, (RwUInt32)fsInfo.f_bsize); ASSERT( pBuffer != nil ); gNumImages = 0; @@ -205,7 +205,7 @@ GetGTA3ImgSize(void) return 0; } ok: - return statbuf.st_size; + return (uint32)statbuf.st_size; } void |