Commit 33f42efb authored by Victor Perron's avatar Victor Perron

Change NULL to 0 to keep compatibility with some cross-compiling GCC

versions
parent a4a73165
...@@ -149,7 +149,7 @@ namespace zmq ...@@ -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 == 0))
return false; return false;
while (!to_read) { while (!to_read) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment