Skip to content

Commit aea2c30

Browse files
committed
windows: fix compilation
1 parent e8893e9 commit aea2c30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

noson/src/private/socket.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ size_t TcpSocket::BlockingRead(void *buf, size_t n)
433433
}
434434

435435
int r = 0;
436-
if ((r = recv(m_socket, buf, n, 0)) > 0)
436+
if ((r = recv(m_socket, (char*)buf, n, 0)) > 0)
437437
return r;
438438
}
439439
return 0;

0 commit comments

Comments
 (0)