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/dhcp_config_unittest.cc b/dhcp_config_unittest.cc
index 63e4471..9202c07 100644
--- a/dhcp_config_unittest.cc
+++ b/dhcp_config_unittest.cc
@@ -435,7 +435,7 @@
conf[DHCPConfig::kConfigurationKeyIPAddress].writer().append_uint32(
++address_octet);
if (lease_time_given) {
- const uint32 kLeaseTime = 1;
+ const uint32_t kLeaseTime = 1;
conf[DHCPConfig::kConfigurationKeyLeaseTime].writer().append_uint32(
kLeaseTime);
config_->lease_expiration_callback_.Cancel();
@@ -482,7 +482,7 @@
DHCPConfig::Configuration conf;
conf[DHCPConfig::kConfigurationKeyIPAddress].writer().append_uint32(
0x01020304);
- const uint32 kLeaseTime = 1;
+ const uint32_t kLeaseTime = 1;
conf[DHCPConfig::kConfigurationKeyLeaseTime].writer().append_uint32(
kLeaseTime);
// Stop the DHCP config while it is calling the success callback. This