diff options
author | Yi Kong <yikong@google.com> | 2024-04-19 00:41:34 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-04-19 00:41:34 +0000 |
commit | bf3473a91bd74876e97e5b4bd47b09f867494b5e (patch) | |
tree | 80caac8a095f3845a98d37f4d5282f0c1a742ed3 | |
parent | 38c79e7d7b5c3cf27fe2eb6554ec50c19f7bfcc8 (diff) | |
parent | d51b87eaf90d8d3fda00a0f835c41abd2effeaa7 (diff) | |
download | goldfish-bf3473a91bd74876e97e5b4bd47b09f867494b5e.tar.gz |
Merge "Fix build for clang-r522817" into main
-rw-r--r-- | fingerprint/storage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fingerprint/storage.cpp b/fingerprint/storage.cpp index ff2b2b34..1523dc4e 100644 --- a/fingerprint/storage.cpp +++ b/fingerprint/storage.cpp @@ -218,7 +218,7 @@ Storage::authenticate(const int32_t enrollmentId) { const int64_t inMs = std::chrono::duration_cast< std::chrono::milliseconds>(mLockOut.nextAttempt - now).count(); - return {AuthResult::LOCKED_OUT_TIMED, inMs, {}}; + return {AuthResult::LOCKED_OUT_TIMED, static_cast<int>(inMs), {}}; } break; |