]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/communicator.cpp
Use standard fixed-width integer types
[libs/net.git] / source / net / communicator.cpp
index 07a8494247758732e8e82597b621ae07b7f1fc21..c473d53a7e06a5ead67d4e8ca76cdbd826cc478d 100644 (file)
@@ -11,7 +11,7 @@ using namespace Msp::Net;
 
 struct Handshake
 {
-       Msp::UInt64 hash;
+       uint64_t hash;
 };
 
 
@@ -31,11 +31,11 @@ HandshakeProtocol::HandshakeProtocol():
 class HandshakeReceiver: public PacketReceiver<Handshake>
 {
 private:
-       Msp::UInt64 hash;
+       uint64_t hash;
 
 public:
        HandshakeReceiver();
-       Msp::UInt64 get_hash() const { return hash; }
+       uint64_t get_hash() const { return hash; }
        virtual void receive(const Handshake &);
 };