CdStreamPosix: fix type issues

This commit is contained in:
Andrew Udvare 2020-10-01 20:45:38 -04:00
parent 34579ae9c3
commit f6bc2b654c
No known key found for this signature in database
GPG Key ID: 1AFD9AFC120C26DD

View File

@ -163,7 +163,7 @@ CdStreamInit(int32 numChannels)
debug("Using no buffered loading for streaming\n"); 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 ); ASSERT( pBuffer != nil );
gNumImages = 0; gNumImages = 0;
@ -205,7 +205,7 @@ GetGTA3ImgSize(void)
return 0; return 0;
} }
ok: ok:
return statbuf.st_size; return (uint32)statbuf.st_size;
} }
void void