diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-01-10 11:53:37 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-01-10 11:53:37 +0000 |
commit | 2054d4e98a3468dfa0351e2365d43df2aa48fbe0 (patch) | |
tree | 8f49a3ea1b7953f6f453f49a378a323e99dd13a8 /src/rpc | |
parent | 701aee70464aa75ff9ae5d1c5a45ed1079f58cd4 (diff) | |
download | skabus-2054d4e98a3468dfa0351e2365d43df2aa48fbe0.tar.xz |
Fix casts in skabus-*-daemon
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/skabus-rpc-daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/skabus-rpc-daemon.c b/src/rpc/skabus-rpc-daemon.c index 513188f..14be950 100644 --- a/src/rpc/skabus-rpc-daemon.c +++ b/src/rpc/skabus-rpc-daemon.c @@ -21,7 +21,7 @@ int main (int argc, char const *const *argv, char const *const *envp) uid_t uid = 0 ; gid_t gid = 0 ; gid_t gids[NGROUPS_MAX] ; - size_t gidn = (unsigned int)-1 ; + size_t gidn = (size_t)-1 ; unsigned int maxconn = 0 ; unsigned int backlog = (unsigned int)-1 ; int flagpublic = 0 ; @@ -35,7 +35,7 @@ int main (int argc, char const *const *argv, char const *const *envp) subgetopt_t l = SUBGETOPT_ZERO ; for (;;) { - register int opt = subgetopt_r(argc, argv, "Dd1USsJjv:c:b:u:g:G:t:T:i:x:", &l) ; + int opt = subgetopt_r(argc, argv, "Dd1USsJjv:c:b:u:g:G:t:T:i:x:", &l) ; if (opt == -1) break ; switch (opt) { |