Index: chromeos/audio/audio_devices_pref_handler_impl.cc |
diff --git a/chromeos/audio/audio_devices_pref_handler_impl.cc b/chromeos/audio/audio_devices_pref_handler_impl.cc |
index 17b5681ebce457ca4feffe8a9f1479fa95ee4832..45aa433eb9ed1628cf19eb5f41a06158cf1e7fee 100644 |
--- a/chromeos/audio/audio_devices_pref_handler_impl.cc |
+++ b/chromeos/audio/audio_devices_pref_handler_impl.cc |
@@ -4,6 +4,8 @@ |
#include "chromeos/audio/audio_devices_pref_handler_impl.h" |
+#include <stdint.h> |
+ |
#include <algorithm> |
#include "base/bind.h" |
@@ -32,7 +34,7 @@ const int kPrefMuteOn = 1; |
std::string GetDeviceIdString(const chromeos::AudioDevice& device) { |
std::string device_id_string = |
device.device_name + " : " + |
- base::Uint64ToString(device.id & static_cast<uint64>(0xffffffff)) + |
+ base::Uint64ToString(device.id & static_cast<uint64_t>(0xffffffff)) + |
" : " + (device.is_input ? "1" : "0"); |
// Replace any periods from the device id string with a space, since setting |
// names cannot contain periods. |