Fix: wrong variable type for read() return value
[lttng-tools.git] / src / common / consumer.c
index 15fc9b09f800d6225be465b0d3c993e69a279f09..59b0a1edeb867188ccafb6253bbb086749eb775f 100644 (file)
@@ -2351,7 +2351,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.023843 seconds and 4 git commands to generate.