]> git.itanic.dy.fi Git - rrdd/blobdiff - process.c
init_job_control: Suppress compiler warning
[rrdd] / process.c
index fd87b1f88dc2b3255954489870b0d1ace66c071a..35ef51511a31e99ed7cfd3d8e1e29cc8fe5e87e3 100644 (file)
--- a/process.c
+++ b/process.c
@@ -288,7 +288,7 @@ int init_jobcontrol(int max_jobs_requested)
        char buf[256];
        char match[8];
        pthread_t *thread;
-       int i;
+       long int i;
 
        if (pipe2(job_request_fd, O_NONBLOCK | O_CLOEXEC)) {
                pr_err("Failed to create pipe: %m\n");