From bf31e9f634052de442e4582092363489947fd70f Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 9 Jun 2024 09:37:16 +0300 Subject: [PATCH] engine: fix NO_ASAN macro usage with MSVC --- engine/common/net_buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/net_buffer.h b/engine/common/net_buffer.h index dcb867f2..12282d78 100644 --- a/engine/common/net_buffer.h +++ b/engine/common/net_buffer.h @@ -174,7 +174,7 @@ void MSG_ExciseBits( sizebuf_t *sb, int startbit, int bitstoremove ); // Bit-write functions void MSG_WriteOneBit( sizebuf_t *sb, int nValue ); -void MSG_WriteUBitLong( sizebuf_t *sb, uint curData, int numbits ) NO_ASAN; +NO_ASAN void MSG_WriteUBitLong( sizebuf_t *sb, uint curData, int numbits ); void MSG_WriteSBitLong( sizebuf_t *sb, int data, int numbits ); void MSG_WriteBitLong( sizebuf_t *sb, uint data, int numbits, qboolean bSigned ); qboolean MSG_WriteBits( sizebuf_t *sb, const void *pData, int nBits );