summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pgm_receiver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pgm_receiver.cpp b/src/pgm_receiver.cpp
index 0eb92d2..e9868f6 100644
--- a/src/pgm_receiver.cpp
+++ b/src/pgm_receiver.cpp
@@ -153,7 +153,7 @@ void zmq::pgm_receiver_t::in_event ()
// Push all the data to the decoder.
// TODO: process_buffer may not process entire buffer!
- size_t processed = it->second.decoder->process_buffer (data, received);
+ ssize_t processed = it->second.decoder->process_buffer (data, received);
zmq_assert (processed == received);
// Flush any messages decoder may have produced.