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 <[email protected]>
Commit-Queue: Ben Chan <[email protected]>
Tested-by: Ben Chan <[email protected]>
diff --git a/connection_info_reader_unittest.cc b/connection_info_reader_unittest.cc
index 92d90c4..eed9621 100644
--- a/connection_info_reader_unittest.cc
+++ b/connection_info_reader_unittest.cc
@@ -179,7 +179,7 @@
}
TEST_F(ConnectionInfoReaderTest, ParseTimeToExpireSeconds) {
- int64 time_to_expire = 0;
+ int64_t time_to_expire = 0;
EXPECT_FALSE(reader_.ParseTimeToExpireSeconds("", &time_to_expire));
EXPECT_FALSE(reader_.ParseTimeToExpireSeconds("a", &time_to_expire));
@@ -211,7 +211,7 @@
}
TEST_F(ConnectionInfoReaderTest, ParsePort) {
- uint16 port = 0;
+ uint16_t port = 0;
bool is_source = false;
EXPECT_FALSE(reader_.ParsePort("", &port, &is_source));