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

Commit 82d7c631 authored by Yi Kong's avatar Yi Kong
Browse files

Fix format-pedantiic warning

C++ spec requires %p format specifier to correspond to a void pointer.

Test: presubmit
Change-Id: I98c72f94b6ea73607e84f32ddcc2149331e39978
parent b10f1e6c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -150,7 +150,7 @@ status_t SensorManager::assertStateLocked() {
        class DeathObserver : public IBinder::DeathRecipient {
            SensorManager& mSensorManager;
            virtual void binderDied(const wp<IBinder>& who) {
                ALOGW("sensorservice died [%p]", who.unsafe_get());
                ALOGW("sensorservice died [%p]", static_cast<void*>(who.unsafe_get()));
                mSensorManager.sensorManagerDied();
            }
        public: