From 939cdc82a2041701c9f08c1745d0175f2c4f62c8 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 5 Mar 2014 15:40:31 -0800 Subject: VERSION 0.7.1: small Linux compile fix on g++, does not merit new release --- node/AtomicCounter.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/AtomicCounter.hpp b/node/AtomicCounter.hpp index 9dc5fd05..80208eda 100644 --- a/node/AtomicCounter.hpp +++ b/node/AtomicCounter.hpp @@ -58,7 +58,7 @@ public: throw() { #ifdef __GNUC__ - return __sync_or_and_fetch(&_v,0); + return __sync_or_and_fetch(const_cast (&_v),0); #else #ifdef __WINDOWS__ return (int)_v; -- cgit v1.2.3