mirror of
https://github.com/ShaYmez/P25Clients.git
synced 2026-06-09 09:24:52 -04:00
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:
@@ -24,7 +24,7 @@
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
|
||||
CRptNetwork::CRptNetwork(unsigned int myPort, const sockaddr_storage& rptAddr, unsigned int rptAddrLen, const std::string& callsign, bool debug) :
|
||||
CRptNetwork::CRptNetwork(unsigned short myPort, const sockaddr_storage& rptAddr, unsigned int rptAddrLen, const std::string& callsign, bool debug) :
|
||||
m_rptAddr(rptAddr),
|
||||
m_rptAddrLen(rptAddrLen),
|
||||
m_callsign(callsign),
|
||||
|
||||
Reference in New Issue
Block a user