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

Commit ea728d04 authored by Jooyung Han's avatar Jooyung Han
Browse files

Cast to int for union tag

Union tag will be changed from `enum` to `enum class`. We need explicit
casting with enum class.

Bug: 218912230
Test: m
Change-Id: If803fa871817261109151ba10f7552f7e37c805b
parent 37ac7569
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -232,7 +232,7 @@ void convertToSensorEvent(const Event &src, sensors_event_t *dst) {
                    break;
                }
                default: {
                    ALOGE("Invalid sensor additional info tag: %d", srcInfo.payload.getTag());
                    ALOGE("Invalid sensor additional info tag: %d", (int)srcInfo.payload.getTag());
                }
            }
            break;