Fix: wrong variable type for read() return value
authorDavid Goulet <dgoulet@efficios.com>
Tue, 22 Jan 2013 20:19:08 +0000 (15:19 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 22 Jan 2013 20:35:51 +0000 (15:35 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
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.028892 seconds and 4 git commands to generate.