From b6577782050145ce32058993c7d5a677c8787ea3 Mon Sep 17 00:00:00 2001 From: dzaima Date: Sat, 20 Apr 2024 23:25:47 +0300 Subject: [PATCH] =?UTF-8?q?fix=20=E2=80=A2file.MapBytes=20in=20debug=20bui?= =?UTF-8?q?lds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/file.c b/src/utils/file.c index ae7fb164..127a0895 100644 --- a/src/utils/file.c +++ b/src/utils/file.c @@ -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;