From bb0a93e87f838371e0c946ee80822dd0df505780 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 26 Aug 2024 07:30:47 +0000 Subject: Client flags was changed to uint64_t a while ago, fix a few cases where it is still int (do not matter now but will with some new flags). From Michael Grant. --- usr.bin/tmux/server.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.bin/tmux/server.c') diff --git a/usr.bin/tmux/server.c b/usr.bin/tmux/server.c index c5cfce6e0f4..d01d15dabe7 100644 --- a/usr.bin/tmux/server.c +++ b/usr.bin/tmux/server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server.c,v 1.206 2024/05/14 10:11:09 nicm Exp $ */ +/* $OpenBSD: server.c,v 1.207 2024/08/26 07:30:46 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -104,8 +104,8 @@ server_check_marked(void) } /* Create server socket. */ -static int -server_create_socket(int flags, char **cause) +int +server_create_socket(uint64_t flags, char **cause) { struct sockaddr_un sa; size_t size; @@ -170,7 +170,7 @@ server_tidy_event(__unused int fd, __unused short events, __unused void *data) /* Fork new server. */ int -server_start(struct tmuxproc *client, int flags, struct event_base *base, +server_start(struct tmuxproc *client, uint64_t flags, struct event_base *base, int lockfd, char *lockfile) { int fd; -- cgit v1.2.3