From 6a8bfb0da2bcc45c16ffcd8c59bd508b60d0867e Mon Sep 17 00:00:00 2001 From: Indev Date: Mon, 2 Oct 2023 13:08:05 +0300 Subject: [PATCH] This can be const too --- src/lua_hudlib_drawlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua_hudlib_drawlist.c b/src/lua_hudlib_drawlist.c index 60642eb1d..eedbff910 100644 --- a/src/lua_hudlib_drawlist.c +++ b/src/lua_hudlib_drawlist.c @@ -46,7 +46,7 @@ typedef struct drawitem_s { INT32 flags; UINT16 basecolor; UINT16 outlinecolor; - UINT8 *colormap; + const UINT8 *colormap; UINT8 *basecolormap; UINT8 *outlinecolormap; fixed_t sx;