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

Commit 9a421037 authored by Yi Kong's avatar Yi Kong
Browse files

Fix -Wformat compiler warning

DisplayViewport.h:133:29: warning: format specifies type 'int' but the argument has type 'ui::Rotation' [-Wformat]

Test: presubmit
Change-Id: Ie656a3da47f2155b106014dff967d5b2d05998d9
parent f6a0133b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -130,9 +130,9 @@ struct DisplayViewport {
                            "isActive=[%d]",
                            ftl::enum_string(type).c_str(), displayId, uniqueId.c_str(),
                            physicalPort ? ftl::to_string(*physicalPort).c_str() : "<none>",
                            orientation, logicalLeft, logicalTop, logicalRight, logicalBottom,
                            physicalLeft, physicalTop, physicalRight, physicalBottom, deviceWidth,
                            deviceHeight, isActive);
                            static_cast<int>(orientation), logicalLeft, logicalTop, logicalRight,
                            logicalBottom, physicalLeft, physicalTop, physicalRight, physicalBottom,
                            deviceWidth, deviceHeight, isActive);
    }
};