diff options
author | Ben Chan <benchan@chromium.org> | 2014-08-10 17:14:46 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-08-11 05:37:57 +0000 |
commit | 7fab89734d88724a288e96a9996b15548c5294c7 (patch) | |
tree | ec3fa83e9f1b0bb8647e94890f7b963b653c6215 /connection_info_reader.h | |
parent | 73dd0dcf5a44ee14eac2de389c9ba967a449a20d (diff) | |
download | shill-7fab89734d88724a288e96a9996b15548c5294c7.tar.gz |
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>
Diffstat (limited to 'connection_info_reader.h')
-rw-r--r-- | connection_info_reader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connection_info_reader.h b/connection_info_reader.h index 5cb75bcc..08fa67b4 100644 --- a/connection_info_reader.h +++ b/connection_info_reader.h @@ -42,11 +42,11 @@ class ConnectionInfoReader { bool ParseConnectionInfo(const std::string &input, ConnectionInfo *info); bool ParseProtocol(const std::string &input, int *protocol); bool ParseTimeToExpireSeconds(const std::string &input, - int64 *time_to_expire_seconds); + int64_t *time_to_expire_seconds); bool ParseIsUnreplied(const std::string &input, bool *is_unreplied); bool ParseIPAddress(const std::string &input, IPAddress *ip_address, bool *is_source); - bool ParsePort(const std::string &input, uint16 *port, bool *is_source); + bool ParsePort(const std::string &input, uint16_t *port, bool *is_source); DISALLOW_COPY_AND_ASSIGN(ConnectionInfoReader); }; |