Replace old-style cast in Windows-only code with static_cast

This commit is contained in:
Rangi42 committed 2025-01-16 23:41:12 -05:00
1 parent 727c1f5b50
commit 0ee4ba95b3
1 file changed
+1 -1
+1 -1
View File
@@ -64,7 +64,7 @@ static char *mapFile(int fd, std::string const &path, size_t) {
}
CloseHandle(file);
}
return (char *)mappingAddr;
return static_cast<char *>(mappingAddr);
}
struct FileUnmapDeleter {