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.
This commit is contained in:
nicm
2024-08-26 07:30:46 +00:00
parent a84c109604
commit 73b2277af8
5 changed files with 24 additions and 18 deletions

View File

@ -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;