From 7ca2750c3d7f047eccc343970b7873297803eab6 Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin <15944199+nekonomicon@users.noreply.github.com> Date: Wed, 1 Nov 2023 02:40:22 +0500 Subject: [PATCH] client: Fix compilation. --- cl_dll/MOTD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl_dll/MOTD.cpp b/cl_dll/MOTD.cpp index 78844642..9267ea40 100644 --- a/cl_dll/MOTD.cpp +++ b/cl_dll/MOTD.cpp @@ -109,7 +109,7 @@ int CHudMOTD::Draw( float fTime ) // find where to start drawing the line if( ( ypos > ROW_RANGE_MIN ) && ( ypos + LINE_HEIGHT <= ypos_r + height ) ) - DrawUtfString( xpos, ypos, xmax, ch, 255, 180, 0 ); + DrawUtfString( xpos, ypos, xmax, (const char*)ch, 255, 180, 0 ); ypos += LINE_HEIGHT;