Index: webrtc/base/httpcommon-inl.h |
diff --git a/webrtc/base/httpcommon-inl.h b/webrtc/base/httpcommon-inl.h |
index 2f525ce7923ba29927a1d87367b7d52fc4033664..d1c0bf01cf0c9e52357d1b5b3e7f09c7167c6334 100644 |
--- a/webrtc/base/httpcommon-inl.h |
+++ b/webrtc/base/httpcommon-inl.h |
@@ -52,7 +52,7 @@ void Url<CTYPE>::do_set_address(const CTYPE* val, size_t len) { |
host_.assign(val, colon - val); |
// Note: In every case, we're guaranteed that colon is followed by a null, |
// or non-numeric character. |
- port_ = static_cast<uint16>(::strtoul(colon + 1, NULL, 10)); |
+ port_ = static_cast<uint16_t>(::strtoul(colon + 1, NULL, 10)); |
// TODO: Consider checking for invalid data following port number. |
} else { |
host_.assign(val, len); |