mirror of
				https://github.com/zeromq/libzmq.git
				synced 2025-11-04 04:10:00 +01:00 
			
		
		
		
	Merge pull request #2451 from evoskuil/master
Problem: implicit cast from size_t to int implies data loss.
This commit is contained in:
		@@ -75,7 +75,7 @@ namespace zmq
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        int wait (event_t *event, int n_events, long timeout);
 | 
					        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.
 | 
					        //  Return false if object is not a socket.
 | 
				
			||||||
        bool check_tag ();
 | 
					        bool check_tag ();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user