aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2011-11-18 12:22:57 +0100
committerRickard Green <[email protected]>2011-11-18 12:22:57 +0100
commita8ecde4e398942260153d8b2f37344af259b1007 (patch)
tree552c93226f4de3170fe6c7c012a00a081fcd7bc8 /erts/emulator/beam
parentc4bba16b943db225715c0aed1944bb1190ec352a (diff)
downloadotp-a8ecde4e398942260153d8b2f37344af259b1007.tar.gz
otp-a8ecde4e398942260153d8b2f37344af259b1007.tar.bz2
otp-a8ecde4e398942260153d8b2f37344af259b1007.zip
Fix warning when lock-checker is enabled
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/erl_lock_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_lock_check.c b/erts/emulator/beam/erl_lock_check.c
index 44da6b6c51..0dd99b3aa1 100644
--- a/erts/emulator/beam/erl_lock_check.c
+++ b/erts/emulator/beam/erl_lock_check.c
@@ -1253,7 +1253,7 @@ erts_lc_init_lock(erts_lc_lock_t *lck, char *name, Uint16 flags)
{
lck->id = erts_lc_get_lock_order_id(name);
- lck->extra = &lck->extra;
+ lck->extra = (UWord) &lck->extra;
ASSERT(is_not_immed(lck->extra));
lck->flags = flags;
lck->inited = ERTS_LC_INITITALIZED;