Unverified Commit 76f2edd0 authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #3230 from saraf/master

Fix build failure on ARM due to bad variable name
parents 12005bd9 3f1f6285
...@@ -188,7 +188,7 @@ class atomic_counter_t ...@@ -188,7 +188,7 @@ class atomic_counter_t
"+Qo"(_value) "+Qo"(_value)
: "Ir"(decrement_), "r"(&_value) : "Ir"(decrement_), "r"(&_value)
: "cc"); : "cc");
return old_value - decrement != 0; return old_value - decrement_ != 0;
#elif defined ZMQ_ATOMIC_COUNTER_MUTEX #elif defined ZMQ_ATOMIC_COUNTER_MUTEX
sync.lock (); sync.lock ();
_value -= decrement_; _value -= decrement_;
......
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