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:19:08 +0000 (15:19 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
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.035502 seconds and 4 git commands to generate.