Compilation fix

This commit is contained in:
Nekotekina 2015-01-14 02:32:44 +03:00
parent bf7cf0ee9d
commit 824b0f832a
2 changed files with 2 additions and 2 deletions

View file

@ -356,7 +356,7 @@ u32 dmuxOpen(Demuxer* dmux_ptr)
continue;
}
switch (code)
switch (code.value())
{
case PACK_START_CODE:
{

View file

@ -399,7 +399,7 @@ namespace loader
{
for (auto &phdr : m_phdrs)
{
switch (phdr.p_type)
switch (phdr.p_type.value())
{
case 0x00000001: //LOAD
if (phdr.p_memsz)