From 13fc893acb88fdd82ad7eea72f9499d123bf5a89 Mon Sep 17 00:00:00 2001 From: Avi Drissman Date: Sat, 19 Dec 2015 23:40:46 -0500 Subject: Switch to standard integer types in net/. BUG=488550 TBR=mmenke@chromium.org Review URL: https://codereview.chromium.org/1535363003 . Cr-Commit-Position: refs/heads/master@{#366297} --- net/quic/test_tools/mock_random.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/quic/test_tools/mock_random.cc') diff --git a/net/quic/test_tools/mock_random.cc b/net/quic/test_tools/mock_random.cc index a8a8e53..87977be 100644 --- a/net/quic/test_tools/mock_random.cc +++ b/net/quic/test_tools/mock_random.cc @@ -9,13 +9,13 @@ namespace test { MockRandom::MockRandom() : base_(0xDEADBEEF), increment_(0) {} -MockRandom::MockRandom(uint32 base) : base_(base), increment_(0) {} +MockRandom::MockRandom(uint32_t base) : base_(base), increment_(0) {} void MockRandom::RandBytes(void* data, size_t len) { memset(data, 'r' + increment_, len); } -uint64 MockRandom::RandUint64() { +uint64_t MockRandom::RandUint64() { return base_ + increment_; } -- cgit v1.1