OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03eccb6
)
SurfaceFlinger: Make log message 64-bit compatible
author
Dan Stoza
<stoza@google.com>
Fri, 16 Jan 2015 23:58:13 +0000
(15:58 -0800)
committer
Dan Stoza
<stoza@google.com>
Fri, 16 Jan 2015 23:58:13 +0000
(15:58 -0800)
Fixes the build on 64-bit targets that complain about using a size_t
with a %d in a format string
Change-Id: I7dfcd3a49eb0dbc5dffeb82bb7208de7f7925f08
services/surfaceflinger/SurfaceFlinger.cpp
patch
|
blob
|
history
diff --git
a/services/surfaceflinger/SurfaceFlinger.cpp
b/services/surfaceflinger/SurfaceFlinger.cpp
index
828ba9d
..
6013ddb
100644
(file)
--- 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) {