From 433744d0fd0e7a60c0e42c2aa58de687c734c8c4 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Thu, 12 Mar 2015 13:41:38 -0500 Subject: [PATCH] Fix old warning on VC 2005 --- src/g_shared/shared_hud.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_shared/shared_hud.cpp b/src/g_shared/shared_hud.cpp index 89acd5fd2..b2f1184ea 100644 --- a/src/g_shared/shared_hud.cpp +++ b/src/g_shared/shared_hud.cpp @@ -973,7 +973,7 @@ static void DrawLatency() const int millis = (level.time % TICRATE) * (1000 / TICRATE); mysnprintf(tempstr, sizeof(tempstr), "a:%dms - l:%dms", arbitratordelay, localdelay); - const int characterCount = strlen(tempstr); + const int characterCount = (int)strlen(tempstr); const int width = SmallFont->GetCharWidth('0') * characterCount + 2; // small offset from screen's border const int height = SmallFont->GetHeight() * 2;