forked from len0rd/rockbox
Merge mpeg_malloc_reason_t and mpeg2_alloc_t, add STATE_INTERNAL_NORETURN to mpeg2_state_t, to fix warnings with short enums.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23677 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
475e68851d
commit
e0b020fbfc
4 changed files with 12 additions and 15 deletions
|
@ -191,7 +191,7 @@ mpeg2_state_t mpeg2_parse (mpeg2dec_t * mpeg2dec)
|
|||
|
||||
state = mpeg2dec->action (mpeg2dec);
|
||||
|
||||
if ((int)state > (int)STATE_INTERNAL_NORETURN)
|
||||
if (state > STATE_INTERNAL_NORETURN)
|
||||
return state;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue