summaryrefslogtreecommitdiff
path: root/libs/input/KeyCharacterMap.cpp
diff options
context:
space:
mode:
author Ian Pedowitz <ijpedowitz@google.com> 2016-02-19 08:34:43 +0000
committer Ian Pedowitz <ijpedowitz@google.com> 2016-02-19 08:34:43 +0000
commitd57d9b900da83b1b5431d90e250f86c0047c618a (patch)
tree1f03f534822a164eee706ae1ac033837023182d8 /libs/input/KeyCharacterMap.cpp
parentb480269b0f8e933fa6fc6bd4c9e1e504e1b51508 (diff)
Revert "Revert "Fix warnings in servicemanager and KeyCharacterMap""
This reverts commit b480269b0f8e933fa6fc6bd4c9e1e504e1b51508. Change-Id: If405c0786c5bdd02e3f2c3356d56a4200c6b9dfb
Diffstat (limited to 'libs/input/KeyCharacterMap.cpp')
-rw-r--r--libs/input/KeyCharacterMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/input/KeyCharacterMap.cpp b/libs/input/KeyCharacterMap.cpp
index fe649fb548..0627ca6d6f 100644
--- a/libs/input/KeyCharacterMap.cpp
+++ b/libs/input/KeyCharacterMap.cpp
@@ -608,7 +608,7 @@ sp<KeyCharacterMap> KeyCharacterMap::readFromParcel(Parcel* parcel) {
return NULL;
}
if (numKeys > MAX_KEYS) {
- ALOGE("Too many keys in KeyCharacterMap (%d > %d)", numKeys, MAX_KEYS);
+ ALOGE("Too many keys in KeyCharacterMap (%zu > %d)", numKeys, MAX_KEYS);
return NULL;
}