Fix: wrong variable type for read() return value
[lttng-tools.git] / src / common / consumer.c
index 8bcfa45ebd746fd6be782c6259790ba9391168f8..08592f6c0b8713f1ce1765a7de4d9237fd8bd81a 100644 (file)
@@ -2348,7 +2348,7 @@ void *consumer_thread_data_poll(void *data)
                 * array update over low-priority reads.
                 */
                if (pollfd[nb_fd].revents & (POLLIN | POLLPRI)) {
-                       size_t pipe_readlen;
+                       ssize_t pipe_readlen;
 
                        DBG("consumer_data_pipe wake up");
                        /* Consume 1 byte of pipe data */
This page took 0.024092 seconds and 4 git commands to generate.