movieplayer:fix format overflow

This commit is contained in:
Jacek Jendrzej
2020-01-24 10:06:51 +01:00
parent e6b6f97b7d
commit a6ac57109b

View File

@@ -2860,7 +2860,7 @@ void CMoviePlayerGui::selectSubtitle()
APIDSelector.addItem(sc); APIDSelector.addItem(sc);
APIDSelector.addItem(GenericMenuSeparatorLine); APIDSelector.addItem(GenericMenuSeparatorLine);
char cnt[5]; char cnt[6];
unsigned int count; unsigned int count;
for (count = 0; count < numsubs; count++) { for (count = 0; count < numsubs; count++) {
bool enabled = sub_supported[count] && (currentspid != spids[count]); bool enabled = sub_supported[count] && (currentspid != spids[count]);