mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
fix(net): include missing header and fix type
This commit is contained in:
parent
0d30ba07ca
commit
e65956486e
1 changed files with 2 additions and 1 deletions
|
|
@ -8,6 +8,7 @@
|
|||
#include <storm/String.hpp>
|
||||
#include <storm/Thread.hpp>
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
#include <new>
|
||||
|
||||
#if defined(WHOA_SYSTEM_MAC) || defined(WHOA_SYSTEM_LINUX)
|
||||
|
|
@ -767,7 +768,7 @@ WC_SEND_RESULT WowConnection::Send(CDataStore* msg, int32_t a3) {
|
|||
|
||||
uint32_t written;
|
||||
#if defined(WHOA_SYSTEM_WIN)
|
||||
written = send(this->m_sock, sn->data, sn->size, 0x0);
|
||||
written = send(this->m_sock, reinterpret_cast<char*>(sn->data), sn->size, 0x0);
|
||||
#elif defined(WHOA_SYSTEM_MAC)
|
||||
written = write(this->m_sock, sn->data, sn->size);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue