diff options
author | Jim Miller | 2015-05-28 17:47:16 -0500 |
---|---|---|
committer | Jim Miller | 2015-05-28 17:47:16 -0500 |
commit | c59a6819af49a783e571c95cf3d4c0f5fd85d00d (patch) | |
tree | 35321f92ecf28bf0344d72b82a03e64365df4feb /fingerprintd | |
parent | 4b7ddd6105c44b01b473c5ed1035b6be34ba19e2 (diff) | |
download | platform-system-core-c59a6819af49a783e571c95cf3d4c0f5fd85d00d.tar.gz platform-system-core-c59a6819af49a783e571c95cf3d4c0f5fd85d00d.tar.xz platform-system-core-c59a6819af49a783e571c95cf3d4c0f5fd85d00d.zip |
Fix 64-bit build error
Fixes bug 21491366
Change-Id: Ifd45ed8a0c5188c5fa2be1a9dac45b97c339685a
Diffstat (limited to 'fingerprintd')
-rw-r--r-- | fingerprintd/FingerprintDaemonProxy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fingerprintd/FingerprintDaemonProxy.cpp b/fingerprintd/FingerprintDaemonProxy.cpp index 2091a2c56..4f355200b 100644 --- a/fingerprintd/FingerprintDaemonProxy.cpp +++ b/fingerprintd/FingerprintDaemonProxy.cpp | |||
@@ -123,7 +123,7 @@ int32_t FingerprintDaemonProxy::enroll(const uint8_t* token, ssize_t tokenSize, | |||
123 | int32_t timeout) { | 123 | int32_t timeout) { |
124 | ALOG(LOG_VERBOSE, LOG_TAG, "enroll(gid=%d, timeout=%d)\n", groupId, timeout); | 124 | ALOG(LOG_VERBOSE, LOG_TAG, "enroll(gid=%d, timeout=%d)\n", groupId, timeout); |
125 | if (tokenSize != sizeof(hw_auth_token_t) ) { | 125 | if (tokenSize != sizeof(hw_auth_token_t) ) { |
126 | ALOG(LOG_VERBOSE, LOG_TAG, "enroll() : invalid token size %d\n", tokenSize); | 126 | ALOG(LOG_VERBOSE, LOG_TAG, "enroll() : invalid token size %" PRId64 "\n", tokenSize); |
127 | return -1; | 127 | return -1; |
128 | } | 128 | } |
129 | const hw_auth_token_t* authToken = reinterpret_cast<const hw_auth_token_t*>(token); | 129 | const hw_auth_token_t* authToken = reinterpret_cast<const hw_auth_token_t*>(token); |
@@ -171,7 +171,7 @@ int32_t FingerprintDaemonProxy::setActiveGroup(int32_t groupId, const uint8_t* p | |||
171 | char path_name[PATH_MAX]; | 171 | char path_name[PATH_MAX]; |
172 | memcpy(path_name, path, pathlen); | 172 | memcpy(path_name, path, pathlen); |
173 | path_name[pathlen] = '\0'; | 173 | path_name[pathlen] = '\0'; |
174 | ALOG(LOG_VERBOSE, LOG_TAG, "setActiveGroup(%d, %s, %d)", groupId, path_name, pathlen); | 174 | ALOG(LOG_VERBOSE, LOG_TAG, "setActiveGroup(%d, %s, %" PRId64 ")", groupId, path_name, pathlen); |
175 | return mDevice->set_active_group(mDevice, groupId, path_name); | 175 | return mDevice->set_active_group(mDevice, groupId, path_name); |
176 | return -1; | 176 | return -1; |
177 | } | 177 | } |