Skip to content

Commit

Permalink
Merge pull request zeromq#68 from vperron/master
Browse files Browse the repository at this point in the history
ARM toolchain compatibility
  • Loading branch information
ianbarber committed Nov 30, 2012
2 parents 7541e38 + 6d4e2ce commit ba1fd8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/decoder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ba1fd8e

Please sign in to comment.