From f802b0eed97406ef7fca4c9073a31acfe59f1715 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 13 Feb 2026 12:09:01 +0500 Subject: [PATCH] engine: mod_bmodel: fix build w/ MSVC --- engine/common/mod_bmodel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/mod_bmodel.c b/engine/common/mod_bmodel.c index a33d1465..05586390 100644 --- a/engine/common/mod_bmodel.c +++ b/engine/common/mod_bmodel.c @@ -754,7 +754,7 @@ static void Mod_LoadLump( const void *in, const mlumpinfo_t *info, mlumpstat_t * // all checks are passed, store pointers if( info->dataptr ) - *info->dataptr = (void *)(in + l.fileofs); + *info->dataptr = (void *)((byte *)in + l.fileofs); if( info->count ) *info->count = numelems;