MediaJack.cpp: fix gcc6 build

Signed-off-by: Dario Casalinuovo <b.vitruvio@gmail.com>
This commit is contained in:
Murai Takashi 2016-05-02 17:47:13 +09:00 committed by Dario Casalinuovo
parent b18c444994
commit 70906e8f57

View File

@ -780,11 +780,11 @@ int __CORTEX_NAMESPACE__ compareTypeAndID(
const MediaJack *rJack = *(reinterpret_cast<MediaJack * const*>(reinterpret_cast<void * const*>(rValue)));
if (lJack && rJack)
{
if (lJack->m_jackType < lJack->m_jackType)
if (lJack->m_jackType < rJack->m_jackType)
{
return -1;
}
if (lJack->m_jackType == lJack->m_jackType)
if (lJack->m_jackType == rJack->m_jackType)
{
if (lJack->m_index < rJack->m_index)
{