mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
Fix old warning on VC 2005
This commit is contained in:
parent
9a09fbd7ed
commit
433744d0fd
1 changed files with 1 additions and 1 deletions
|
@ -973,7 +973,7 @@ static void DrawLatency()
|
||||||
const int millis = (level.time % TICRATE) * (1000 / TICRATE);
|
const int millis = (level.time % TICRATE) * (1000 / TICRATE);
|
||||||
mysnprintf(tempstr, sizeof(tempstr), "a:%dms - l:%dms", arbitratordelay, localdelay);
|
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 width = SmallFont->GetCharWidth('0') * characterCount + 2; // small offset from screen's border
|
||||||
const int height = SmallFont->GetHeight() * 2;
|
const int height = SmallFont->GetHeight() * 2;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue