]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/fdset.h
tree-wide: be more careful with the type of array sizes
[thirdparty/systemd.git] / src / shared / fdset.h
index 4691bd51d3225e20ec67b2408de83d49fc3d8af8..178b9abf79489f11f831af2dbccd78c6a40e6396 100644 (file)
@@ -24,7 +24,7 @@ int fdset_put_dup(FDSet *s, int fd);
 bool fdset_contains(FDSet *s, int fd);
 int fdset_remove(FDSet *s, int fd);
 
-int fdset_new_array(FDSet **ret, const int *fds, unsigned n_fds);
+int fdset_new_array(FDSet **ret, const int *fds, size_t n_fds);
 int fdset_new_fill(FDSet **ret);
 int fdset_new_listen_fds(FDSet **ret, bool unset);