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

versions
This commit is contained in:
Victor Perron
2012-11-30 21:39:22 +01:00
parent a4a731652a
commit 33f42efb48

View File

@@ -149,7 +149,7 @@ namespace zmq
bool stalled ()
{
// Check whether there was decoding error.
if (unlikely (static_cast <T*> (this)->next == NULL))
if (unlikely (static_cast <T*> (this)->next == 0))
return false;
while (!to_read) {