summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2015-01-16 15:58:13 -0800
committerDan Stoza <stoza@google.com>2015-01-16 15:58:13 -0800
commitef1c17ae9417abc1e21e49dbc629e448efc947dc (patch)
tree40b9972a3b91a679fef76e020d3346696ff506d8
parent03eccb6616744c3789b6018680de7bf5a18f71ce (diff)
downloadnative-ef1c17ae9417abc1e21e49dbc629e448efc947dc.tar.gz
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
-rw-r--r--services/surfaceflinger/SurfaceFlinger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp
index 828ba9dfc8..6013ddb535 100644
--- a/services/surfaceflinger/SurfaceFlinger.cpp
+++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -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) {