X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.c;h=59b0a1edeb867188ccafb6253bbb086749eb775f;hb=0af70327f35ffde444f22d18729782d8cc4cfbbb;hp=15fc9b09f800d6225be465b0d3c993e69a279f09;hpb=d861c9074f19f590c4bd2bf6da482ab3968bf0ab;p=lttng-tools.git diff --git a/src/common/consumer.c b/src/common/consumer.c index 15fc9b09f..59b0a1ede 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -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 */