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

Commit 3fcd7ddc authored by Dan Stoza's avatar Dan Stoza Committed by The Android Automerger
Browse files

SurfaceFlinger: Make log message 64-bit compatible

Fixes the build on 64-bit targets that complain about using a size_t
with a %d in a format string

Change-Id: I7dfcd3a49eb0dbc5dffeb82bb7208de7f7925f08
parent 5fc19fde
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2009,7 +2009,7 @@ bool SurfaceFlinger::doComposeSurfaces(const sp<const DisplayDevice>& hw, const
            ++blameCounts[blame.second];
        }

        ALOGI("FD Blame: %d open fds", currentFds.size());
        ALOGI("FD Blame: %zu open fds", currentFds.size());
        for (auto blame : blameCounts) {
            std::string layers;
            for (auto layer : blame.first) {