zeromq / azmq

C++ language binding library integrating ZeroMQ with Boost Asio
Boost Software License 1.0
319 stars 109 forks source link

socket_ops: silence signed/unsigned comparison warning #187

Closed timblechmann closed 2 years ago

timblechmann commented 2 years ago

last is a signed type, while 0u is an unsigned type, but we obviously want to have index and last to be of the same type (well, we typically don't care too much, but compilers can be quite naggy about signed/unsigned comparisons)