mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-02-16 17:35:39 +00:00
fix compile warnings
This commit is contained in:
parent
318f4cf6dc
commit
70259eec34
|
@ -326,7 +326,7 @@ bool GameLoader::ComputeRegionSize(uint32_t *region_size, const GameLoader::Regi
|
|||
ErrorLog("File '%s' in '%s' is not sized in %d-byte chunks.", zipped_file->filename.c_str(), zip.zipfilename.c_str(), region->chunk_size);
|
||||
error = true;
|
||||
}
|
||||
uint32_t num_chunks = zipped_file->uncompressed_size / region->chunk_size;
|
||||
uint32_t num_chunks = (uint32_t)(zipped_file->uncompressed_size / region->chunk_size);
|
||||
end_addr.push_back(file->offset + region->stride * (num_chunks - 1) + region->chunk_size);
|
||||
}
|
||||
else
|
||||
|
|
|
@ -46,7 +46,7 @@ private:
|
|||
struct ZippedFile
|
||||
{
|
||||
std::string filename;
|
||||
uint64_t uncompressed_size;
|
||||
size_t uncompressed_size;
|
||||
uint32_t crc32;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue