mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-15 02:07:59 +08:00
Fix signed/unsigned comparison
This commit is contained in:
parent
7c51429440
commit
dee333b2ed
@ -28,7 +28,7 @@ void test_system_max ()
|
||||
{
|
||||
// Keep allocating sockets until we run out of system resources
|
||||
|
||||
const int no_of_sockets = 2 * 65536;
|
||||
const unsigned int no_of_sockets = 2 * 65536;
|
||||
void *ctx = zmq_ctx_new();
|
||||
zmq_ctx_set(ctx, ZMQ_MAX_SOCKETS, no_of_sockets);
|
||||
std::vector<void*> sockets;
|
||||
|
Loading…
x
Reference in New Issue
Block a user