mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 20:44:14 +02:00
Fixing definitions
This commit is contained in:
parent
e3d842dff7
commit
a4f6d85676
1 changed files with 2 additions and 2 deletions
|
@ -109,12 +109,12 @@ int AgentList::indexOfMatchingAgent(sockaddr *senderAddress) {
|
|||
return -1;
|
||||
}
|
||||
|
||||
int AgentList::unpackAgentId(unsigned char *packedData, uint16_t *agentId) {
|
||||
int unpackAgentId(unsigned char *packedData, uint16_t *agentId) {
|
||||
memcpy(packedData, agentId, sizeof(uint16_t));
|
||||
return sizeof(uint16_t);
|
||||
}
|
||||
|
||||
int AgentList::packAgentId(unsigned char *packStore, uint16_t agentId) {
|
||||
int packAgentId(unsigned char *packStore, uint16_t agentId) {
|
||||
memcpy(&agentId, packStore, sizeof(uint16_t));
|
||||
return sizeof(uint16_t);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue