Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3686)

Unified Diff: chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.cc
diff --git a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.cc b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.cc
index 739b3d32cd9b629a9dcbbd1fa18dae96b8f1c471..fdfe3bfb74058cb8cb0cc8224729837533dd0ead 100644
--- a/chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.cc
+++ b/chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_get_keys_operation.h"
+#include <stdint.h>
+
#include <vector>
#include "base/bind.h"
@@ -79,7 +81,8 @@ void EasyUnlockGetKeysOperation::OnGetKeyData(
} else if (entry.name == kEasyUnlockKeyMetaNameBluetoothType) {
if (entry.number) {
if (*entry.number >=
- static_cast<int64>(EasyUnlockDeviceKeyData::NUM_BLUETOOTH_TYPES)) {
+ static_cast<int64_t>(
+ EasyUnlockDeviceKeyData::NUM_BLUETOOTH_TYPES)) {
PA_LOG(ERROR) << "Invalid Bluetooth type: " << *entry.number;
} else {
device.bluetooth_type =

Powered by Google App Engine
This is Rietveld 408576698