mirror of
https://github.com/g4klx/DMRGateway.git
synced 2026-04-07 15:34:01 +00: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:
parent
daa54d3d32
commit
d9a09a9364
14 changed files with 136 additions and 135 deletions
|
|
@ -30,7 +30,7 @@ const unsigned int DISABLE_ARGS = 2U;
|
|||
|
||||
const unsigned int BUFFER_LENGTH = 100U;
|
||||
|
||||
CRemoteControl::CRemoteControl(CDMRGateway* host, const std::string address, unsigned int port) :
|
||||
CRemoteControl::CRemoteControl(CDMRGateway* host, const std::string address, unsigned short port) :
|
||||
m_host(host),
|
||||
m_socket(address, port),
|
||||
m_command(RCD_NONE),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue