summaryrefslogtreecommitdiffstats
path: root/tests/aidl_test_service.cpp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2015-10-27 15:07:50 -0700
committerChih-Hung Hsieh <chh@google.com>2015-10-27 15:07:50 -0700
commit048b55eeb21d2171c203143da7e329dc85b8c0a0 (patch)
tree50cdedc5f4cbec719463011a1380d43d737032bb /tests/aidl_test_service.cpp
parentcd8e89795c331e3e5c75e92d7c7804f389804e08 (diff)
downloadandroid_system_tools_aidl-048b55eeb21d2171c203143da7e329dc85b8c0a0.tar.gz
android_system_tools_aidl-048b55eeb21d2171c203143da7e329dc85b8c0a0.tar.bz2
android_system_tools_aidl-048b55eeb21d2171c203143da7e329dc85b8c0a0.zip
Fix trivial print format error.
* Use %zu for size_t values for both 32 and 64-bit modes. Change-Id: Iee7227211272a45aaed544c7b14130e31c91b349
Diffstat (limited to 'tests/aidl_test_service.cpp')
-rw-r--r--tests/aidl_test_service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/aidl_test_service.cpp b/tests/aidl_test_service.cpp
index 17c47ee..621694e 100644
--- a/tests/aidl_test_service.cpp
+++ b/tests/aidl_test_service.cpp
@@ -100,7 +100,7 @@ class NativeService : public BnTestService {
}
void LogRepeatedStringToken(const String16& token) {
- ALOGI("Repeating '%s' of length=%u", android::String8(token).string(),
+ ALOGI("Repeating '%s' of length=%zu", android::String8(token).string(),
token.size());
}