Fix types of vars passed into sscanf() for use as return values

git-svn-id: https://svn.eduke32.com/eduke32@7013 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-10-07 05:21:10 +00:00
parent 7f5f22e184
commit a7a2c3d12a

View file

@ -536,7 +536,7 @@ static inline void G_NewGame_EnterLevel(void)
static inline int G_GetMusicIdx(const char *str)
{
int32_t lev, ep;
char b1, b2;
signed char b1, b2;
int numMatches = sscanf(str, "%c%d%c%d", &b1,&ep, &b2,&lev);