Commit af0320f7 authored by evoskuil's avatar evoskuil

Problem: implicit cast from size_t to int implies data loss.

parent ded6c84b
......@@ -75,7 +75,7 @@ namespace zmq
int wait (event_t *event, int n_events, long timeout);
inline int size (void) { return items.size (); };
inline int size (void) { return static_cast <int> (items.size ()); };
// Return false if object is not a socket.
bool check_tag ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment