Fix a warning. DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@6406 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-07-30 04:27:44 +00:00
parent 82fd56b464
commit 3e8c80a3d3

View file

@ -4466,7 +4466,7 @@ static int32_t M_RunMenu_Menu(Menu_t *cm, MenuMenu_t *menu, MenuEntry_t *current
Bsprintf(tempbuf, "%.2f", *object->variable);
break;
case DisplayTypePercent:
Bsprintf(tempbuf, "%d%%", Blrintf(*object->variable * 100.f / onehundredpercent));
Bsprintf(tempbuf, "%ld%%", lrintf(*object->variable * 100.f / onehundredpercent));
break;
case DisplayTypeNormalizedDecimal:
Bsprintf(tempbuf, "%.2f", *object->variable / onehundredpercent);