fix •file.MapBytes in debug builds

This commit is contained in:
dzaima 2024-04-20 23:25:47 +03:00
parent ac405da3ab
commit b657778205

View File

@ -345,7 +345,7 @@ B mmap_file(B path) {
}
#endif
MmapHolder* holder = m_arr(sizeof(MmapHolder), t_mmapH, len);
MmapHolder* holder = m_arrUnchecked(sizeof(MmapHolder), t_mmapH, len);
holder->a = data;
#if !defined(_WIN32)
holder->fd = fd;