mirror of
https://github.com/xmrig/xmrig.git
synced 2025-03-28 01:58:54 +00:00
Compilation error under FreeBSD
ULONG is not recognized under this OS, so replaced it with more portable definition.
This commit is contained in:
parent
9a28ad590c
commit
d2964576c7
1 changed files with 1 additions and 1 deletions
|
@ -532,7 +532,7 @@ void Client::onAllocBuffer(uv_handle_t *handle, size_t suggested_size, uv_buf_t
|
|||
auto client = getClient(handle->data);
|
||||
|
||||
buf->base = &client->m_recvBuf.base[client->m_recvBufPos];
|
||||
buf->len = client->m_recvBuf.len - (ULONG)client->m_recvBufPos;
|
||||
buf->len = client->m_recvBuf.len - (unsigned long)client->m_recvBufPos;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue