forked from mirrors/kore
If we're iterating over rlimits, we should use rlim_t.
> error: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'rlim_t' (aka 'long') [-Werror,-Wsign-compare]
This commit is contained in:
parent
fb6512259c
commit
d37ecf9649
@ -202,7 +202,7 @@ kore_worker_dispatch_signal(int sig)
|
||||
void
|
||||
kore_worker_entry(struct kore_worker *kw)
|
||||
{
|
||||
size_t fd;
|
||||
rlim_t fd;
|
||||
struct rlimit rl;
|
||||
char buf[16];
|
||||
int quit, had_lock, r;
|
||||
|
Loading…
Reference in New Issue
Block a user