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

Commit ef1c17ae authored by Dan Stoza's avatar Dan Stoza
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 03eccb66
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2009,7 +2009,7 @@ bool SurfaceFlinger::doComposeSurfaces(const sp<const DisplayDevice>& hw, const
            ++blameCounts[blame.second];
            ++blameCounts[blame.second];
        }
        }


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