On 64 bit arch casting an int to (void *) causes a warning about
different word sizes. Use long int so that the variables have same
length.
Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
char buf[256];
char match[8];
pthread_t *thread;
char buf[256];
char match[8];
pthread_t *thread;
if (pipe2(job_request_fd, O_NONBLOCK | O_CLOEXEC)) {
pr_err("Failed to create pipe: %m\n");
if (pipe2(job_request_fd, O_NONBLOCK | O_CLOEXEC)) {
pr_err("Failed to create pipe: %m\n");