Index: webrtc/p2p/client/basicportallocator.h |
diff --git a/webrtc/p2p/client/basicportallocator.h b/webrtc/p2p/client/basicportallocator.h |
index a27ff4c6274f66e9b783d45238eaf83cee6fbe9f..02d9a0bbad50701e983355507a1592597973cc5c 100644 |
--- a/webrtc/p2p/client/basicportallocator.h |
+++ b/webrtc/p2p/client/basicportallocator.h |
@@ -170,7 +170,8 @@ class BasicPortAllocatorSession : public PortAllocatorSession, |
void OnNetworksChanged(); |
void OnAllocationSequenceObjectsCreated(); |
void DisableEquivalentPhases(rtc::Network* network, |
- PortConfiguration* config, uint32* flags); |
+ PortConfiguration* config, |
+ uint32_t* flags); |
void AddAllocatedPort(Port* port, AllocationSequence* seq, |
bool prepare_address); |
void OnCandidateReady(Port* port, const Candidate& c); |
@@ -256,7 +257,7 @@ class AllocationSequence : public rtc::MessageHandler, |
AllocationSequence(BasicPortAllocatorSession* session, |
rtc::Network* network, |
PortConfiguration* config, |
- uint32 flags); |
+ uint32_t flags); |
~AllocationSequence(); |
bool Init(); |
void Clear(); |
@@ -267,7 +268,7 @@ class AllocationSequence : public rtc::MessageHandler, |
// equivalent network setup. |
void DisableEquivalentPhases(rtc::Network* network, |
PortConfiguration* config, |
- uint32* flags); |
+ uint32_t* flags); |
// Starts and stops the sequence. When started, it will continue allocating |
// new ports on its own timed schedule. |
@@ -295,7 +296,7 @@ class AllocationSequence : public rtc::MessageHandler, |
private: |
typedef std::vector<ProtocolType> ProtocolList; |
- bool IsFlagSet(uint32 flag) { return ((flags_ & flag) != 0); } |
+ bool IsFlagSet(uint32_t flag) { return ((flags_ & flag) != 0); } |
void CreateUDPPorts(); |
void CreateTCPPorts(); |
void CreateStunPorts(); |
@@ -315,7 +316,7 @@ class AllocationSequence : public rtc::MessageHandler, |
rtc::IPAddress ip_; |
PortConfiguration* config_; |
State state_; |
- uint32 flags_; |
+ uint32_t flags_; |
ProtocolList protocols_; |
rtc::scoped_ptr<rtc::AsyncPacketSocket> udp_socket_; |
// There will be only one udp port per AllocationSequence. |