Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ec5a0b8 authored by Liz Kammer's avatar Liz Kammer
Browse files

Fix enum comparison to reenable -Wenum-compare

Test: m
Change-Id: Id0e0907a53416b49a149e43e4f5c6fb18fd6aaaa
parent 304942fa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
 */

//#define LOG_NDEBUG 0
#include "include/HeifDecoderAPI.h"
#define LOG_TAG "HeifDecoderImpl"

#include "HeifDecoderImpl.h"
@@ -464,7 +465,7 @@ bool HeifDecoderImpl::getEncodedColor(HeifEncodedColor* /*outColor*/) const {
}

bool HeifDecoderImpl::setOutputColor(HeifColorFormat heifColor) {
    if (heifColor == mOutputColor) {
    if (heifColor == (HeifColorFormat)mOutputColor) {
        return true;
    }