This commit is contained in:
Christoph Oelckers 2015-03-14 09:35:23 +01:00
commit 6012950230
1 changed files with 1 additions and 1 deletions

View File

@ -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;