summaryrefslogtreecommitdiff
path: root/source4/lib/socket
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/socket')
-rw-r--r--source4/lib/socket/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/socket/socket.c b/source4/lib/socket/socket.c
index 92f0a44005..0c3d032068 100644
--- a/source4/lib/socket/socket.c
+++ b/source4/lib/socket/socket.c
@@ -491,7 +491,7 @@ static const struct {
**/
_PUBLIC_ void set_socket_options(int fd, const char *options)
{
- const char **options_list = str_list_make(NULL, options, " \t,");
+ const char **options_list = (const char **)str_list_make(NULL, options, " \t,");
int j;
if (!options_list)