summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2009-12-31 16:35:04 +0100
committermalosek <malosek@fastmq.com>2009-12-31 16:35:04 +0100
commit9bda63cd6378682af3b685dbbe0c47cdc4455295 (patch)
tree321044c4dee48ebd6f6920a3a46708ac8681164d /src
parent819590c04cb24f1627b140883e4106bb8a6f62eb (diff)
fixed minor gcc warning in src/pgm_receiver.cpp
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.