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:
Elliot Schlegelmilch 2016-04-27 18:18:21 -07:00
parent fb6512259c
commit d37ecf9649

View File

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