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
This commit is contained in:
Dan Stoza 2015-01-16 15:58:13 -08:00
parent 03eccb6616
commit ef1c17ae94

View File

@ -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) {