shill: Use integer types from stdint.h
This CL replaces the deprecated int* and uint* types from
'base/basictypes.h' with the int*_t and uint*_t types from 'stdint.h'.
BUG=chromium:401356
TEST=`USE='cellular gdmwimax wimax' FEATURES=test emerge-$BOARD platform2`
Change-Id: I3d4c195881203dd2a47dbb5af150b6c90b9c206e
Reviewed-on: https://chromium-review.googlesource.com/211770
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
diff --git a/modem_classic.cc b/modem_classic.cc
index 52e3929..8f085cc 100644
--- a/modem_classic.cc
+++ b/modem_classic.cc
@@ -29,7 +29,7 @@
void ModemClassic::CreateDeviceClassic(
const DBusPropertiesMap &modem_properties) {
Init();
- uint32 mm_type = kuint32max;
+ uint32_t mm_type = kuint32max;
DBusProperties::GetUint32(modem_properties, kPropertyType, &mm_type);
switch (mm_type) {
case MM_MODEM_TYPE_CDMA:
@@ -42,7 +42,7 @@
LOG(ERROR) << "Unsupported cellular modem type: " << mm_type;
return;
}
- uint32 ip_method = kuint32max;
+ uint32_t ip_method = kuint32max;
if (!DBusProperties::GetUint32(modem_properties,
kPropertyIPMethod,
&ip_method) ||