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

This commit is contained in:
evoskuil 2017-03-23 11:38:51 -07:00
parent ded6c84b38
commit af0320f786

View File

@ -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 ();