Fix network ports datatype (unsigned int -> unsigned short). UDPSocket: fix old bug using m_port instead of m_port[x].

This commit is contained in:
Daniel Caujolle-Bert
2021-04-25 07:44:55 +02:00
parent daa54d3d32
commit d9a09a9364
14 changed files with 136 additions and 135 deletions

View File

@@ -30,7 +30,7 @@
class CMMDVMNetwork
{
public:
CMMDVMNetwork(const std::string& rptAddress, unsigned int rptPort, const std::string& localAddress, unsigned int localPort, bool debug);
CMMDVMNetwork(const std::string& rptAddress, unsigned short rptPort, const std::string& localAddress, unsigned short localPort, bool debug);
~CMMDVMNetwork();
unsigned int getShortConfig(unsigned char* config) const;