mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
VERSION 0.7.1: small Linux compile fix on g++, does not merit new release
This commit is contained in:
parent
a207ce13c0
commit
939cdc82a2
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ public:
|
||||||
throw()
|
throw()
|
||||||
{
|
{
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
return __sync_or_and_fetch(&_v,0);
|
return __sync_or_and_fetch(const_cast <volatile int *>(&_v),0);
|
||||||
#else
|
#else
|
||||||
#ifdef __WINDOWS__
|
#ifdef __WINDOWS__
|
||||||
return (int)_v;
|
return (int)_v;
|
||||||
|
|
Loading…
Add table
Reference in a new issue