aboutsummaryrefslogtreecommitdiffstats
path: root/erts/lib_src
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2010-12-16 14:29:31 +0100
committerRickard Green <[email protected]>2010-12-16 14:29:31 +0100
commit4768e26e0acb2ebd12c08bc5599b98dc1ff92094 (patch)
treee2643baa49c33dfc9bd0a0f97241e1eb36ba73f2 /erts/lib_src
parente22880b24b64a4d033b05d41406187fd313ac99e (diff)
downloadotp-4768e26e0acb2ebd12c08bc5599b98dc1ff92094.tar.gz
otp-4768e26e0acb2ebd12c08bc5599b98dc1ff92094.tar.bz2
otp-4768e26e0acb2ebd12c08bc5599b98dc1ff92094.zip
Unbreak atomic fallback
Diffstat (limited to 'erts/lib_src')
-rw-r--r--erts/lib_src/common/ethr_atomics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/lib_src/common/ethr_atomics.c b/erts/lib_src/common/ethr_atomics.c
index 77694e5952..94557d904a 100644
--- a/erts/lib_src/common/ethr_atomics.c
+++ b/erts/lib_src/common/ethr_atomics.c
@@ -43,7 +43,7 @@ ethr_init_atomics(void)
{
int i;
for (i = 0; i < (1 << ETHR_ATOMIC_ADDR_BITS); i++) {
- res = ethr_spinlock_init(&ethr_atomic_protection__[i].u.lck);
+ int res = ethr_spinlock_init(&ethr_atomic_protection__[i].u.lck);
if (res != 0)
return res;
}