summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Udvare <audvare@gmail.com>2020-10-02 02:45:38 +0200
committereray orçunus <erayorcunus@gmail.com>2020-10-08 16:53:32 +0200
commit1a3e254b6c5fc79433d84f89273a5a983f30af8e (patch)
tree567525ae1b3549f4a3c495fd234c1a9c50fe9d39
parentpremake5: Place macosx-amd64 after arm64 (diff)
downloadre3-1a3e254b6c5fc79433d84f89273a5a983f30af8e.tar
re3-1a3e254b6c5fc79433d84f89273a5a983f30af8e.tar.gz
re3-1a3e254b6c5fc79433d84f89273a5a983f30af8e.tar.bz2
re3-1a3e254b6c5fc79433d84f89273a5a983f30af8e.tar.lz
re3-1a3e254b6c5fc79433d84f89273a5a983f30af8e.tar.xz
re3-1a3e254b6c5fc79433d84f89273a5a983f30af8e.tar.zst
re3-1a3e254b6c5fc79433d84f89273a5a983f30af8e.zip
Diffstat (limited to '')
-rw-r--r--src/core/CdStreamPosix.cpp4
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