diff options
Diffstat (limited to 'src/output/plugins/FifoOutputPlugin.cxx')
-rw-r--r-- | src/output/plugins/FifoOutputPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/plugins/FifoOutputPlugin.cxx b/src/output/plugins/FifoOutputPlugin.cxx index aa2b74bc2..f91cacb0f 100644 --- a/src/output/plugins/FifoOutputPlugin.cxx +++ b/src/output/plugins/FifoOutputPlugin.cxx @@ -227,10 +227,10 @@ inline void FifoOutput::Cancel() { char buf[FIFO_BUFFER_SIZE]; - int bytes; timer->Reset(); + ssize_t bytes; do { bytes = read(input, buf, FIFO_BUFFER_SIZE); } while (bytes > 0 && errno != EINTR); |