Core: Fixed warning in FileMapping

This commit is contained in:
Mirek Fidler 2024-09-10 14:34:40 +02:00
parent 705031c483
commit cd4bc7491a

View file

@ -15,7 +15,7 @@ public:
Time GetTime() const;
byte *Map(int64 mapoffset, size_t maplen);
byte *Map() { return Map(0, GetFileSize()); }
byte *Map() { ASSERT((size_t)GetFileSize() == GetFileSize()); return Map(0, (size_t)GetFileSize()); }
bool Unmap();
bool Close();