MediaJack.cpp: fix gcc6 build
Signed-off-by: Dario Casalinuovo <b.vitruvio@gmail.com>
This commit is contained in:
parent
b18c444994
commit
70906e8f57
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user