mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Replace old-style cast in Windows-only code with static_cast
This commit is contained in:
@@ -64,7 +64,7 @@ static char *mapFile(int fd, std::string const &path, size_t) {
|
|||||||
}
|
}
|
||||||
CloseHandle(file);
|
CloseHandle(file);
|
||||||
}
|
}
|
||||||
return (char *)mappingAddr;
|
return static_cast<char *>(mappingAddr);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct FileUnmapDeleter {
|
struct FileUnmapDeleter {
|
||||||
|
|||||||
Reference in New Issue
Block a user