Skip to content

Commit f7ec79f

Browse files
committed
Trying to fix windows build (att.2)
1 parent 54f7828 commit f7ec79f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/remote/inet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,7 @@ rem_port* INET_connect(const TEXT* name,
12831283
{
12841284
int optError;
12851285
socklen_t len = sizeof(optError);
1286-
if (getsockopt(port->port_handle, SOL_SOCKET, SO_ERROR, &optError, &len) < 0)
1286+
if (getsockopt(port->port_handle, SOL_SOCKET, SO_ERROR, (SCHAR *)&optError, &len) < 0)
12871287
connected = false;
12881288
else
12891289
connected = (optError == 0);

0 commit comments

Comments
 (0)