Merge pull request #68 from vperron/master

ARM toolchain compatibility
This commit is contained in:
Ian Barber 2012-11-30 14:11:26 -08:00
commit ba1fd8e82a

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)))
return false;
while (!to_read) {