Commit 2b1bc701 authored by Eli Zaretskii's avatar Eli Zaretskii

Avoid compilation warning in emacsclient.c

* lib-src/emacsclient.c (set_tcp_socket): Avoid compilation
warning in MS-Windows build.
parent 652dabff
Pipeline #126 failed with stage
in 21 minutes and 24 seconds
......@@ -1001,7 +1001,9 @@ set_tcp_socket (const char *local_server_file)
setsockopt (s, SOL_SOCKET, SO_LINGER, &l_arg, sizeof l_arg);
/* The cast to 'const char *' is to avoid a compiler warning when
compiling for MS-Windows sockets. */
setsockopt (s, SOL_SOCKET, SO_LINGER, (const char *) &l_arg, sizeof l_arg);
/* Send the authentication. */
auth_string[AUTH_KEY_LENGTH] = '\0';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment