Skip to content
Snippets Groups Projects
Commit db6ab93b authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix warning on 64-bit Windows where a socket isn't an int.

Le sigh for the socket API.
parent 53cfb81a
No related branches found
No related tags found
No related merge requests found
......@@ -474,7 +474,7 @@ enum failure_reason {
FAILURE_DISCONNECTED
};
int
SOCKET
conn_socket_connect(struct bbslist *bbs)
{
SOCKET sock = INVALID_SOCKET;
......
......@@ -123,6 +123,6 @@ size_t conn_buf_wait_cond(struct conn_buffer *buf, size_t bcount, unsigned long
#define conn_buf_wait_bytes(buf, count, timeout) conn_buf_wait_cond(buf, count, timeout, 0)
#define conn_buf_wait_free(buf, count, timeout) conn_buf_wait_cond(buf, count, timeout, 1)
int conn_socket_connect(struct bbslist *bbs);
SOCKET conn_socket_connect(struct bbslist *bbs);
#endif // ifndef _CONN_H_
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment