1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-15 10:52:45 -05:00

Remove compilation warnings under MSVC

This commit is contained in:
Foudge
2018-01-27 11:42:22 +01:00
parent 9bceb65ad8
commit 15fe6ce23f
2 changed files with 3 additions and 3 deletions

View File

@@ -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 - client->m_recvBufPos;
buf->len = client->m_recvBuf.len - (ULONG)client->m_recvBufPos;
}