Browse Source

VERSION 0.7.1: small Linux compile fix on g++, does not merit new release

pull/1/head
Adam Ierymenko 12 years ago
parent
commit
939cdc82a2
  1. 2
      node/AtomicCounter.hpp

2
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 <volatile int *>(&_v),0);
#else
#ifdef __WINDOWS__
return (int)_v;

Loading…
Cancel
Save