mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-17 16:43:58 +00:00
Change NULL to 0 to keep compatibility with some cross-compiling GCC
versions
This commit is contained in:
parent
7541e38205
commit
6d4e2ce93b
@ -149,7 +149,7 @@ namespace zmq
|
|||||||
bool stalled ()
|
bool stalled ()
|
||||||
{
|
{
|
||||||
// Check whether there was decoding error.
|
// Check whether there was decoding error.
|
||||||
if (unlikely (static_cast <T*> (this)->next == NULL))
|
if (unlikely (!(static_cast <T*> (this)->next)))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
while (!to_read) {
|
while (!to_read) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user