mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-08 10:06:23 -05:00
pulse-server: use pid_t where appropriate
Instead of `int`, use the `pid_t` type to represent process identifiers.
This commit is contained in:
parent
2d27497045
commit
627ef37a77
3 changed files with 8 additions and 6 deletions
|
|
@ -353,8 +353,9 @@ on_connect(void *data, int fd, uint32_t mask)
|
|||
struct impl * const impl = server->impl;
|
||||
struct sockaddr_storage name;
|
||||
socklen_t length;
|
||||
int client_fd, val, pid;
|
||||
int client_fd, val;
|
||||
struct client *client = NULL;
|
||||
pid_t pid;
|
||||
|
||||
length = sizeof(name);
|
||||
client_fd = accept4(fd, (struct sockaddr *) &name, &length, SOCK_CLOEXEC);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue