OSD warning fix

git-svn-id: https://svn.eduke32.com/eduke32@7165 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-11-18 18:07:15 +00:00
parent 6d4b0f7731
commit 369c671632

View file

@ -1405,7 +1405,7 @@ static int osdcmd_printtimes(osdcmdptr_t UNUSED(parm))
for (auto & EventName : EventNames)
{
int const len = Bstrlen(EventName+strlen_event_);
Bassert(len < ARRAY_SIZE(buf));
Bassert(len < ARRAY_SSIZE(buf));
maxlen = max(len, maxlen);
}