aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-05-03 14:35:27 +0200
committerBjörn Gustavsson <[email protected]>2011-05-11 09:21:22 +0200
commit54b677e80cdd1da685c69d349ca83e68dce5b991 (patch)
tree6a457c1f07aa5466c8c92718275692f22c3807b9 /erts/emulator/beam/erl_process.c
parent8d1dd7079fdcd22765b30a1268649022360f6f56 (diff)
downloadotp-54b677e80cdd1da685c69d349ca83e68dce5b991.tar.gz
otp-54b677e80cdd1da685c69d349ca83e68dce5b991.tar.bz2
otp-54b677e80cdd1da685c69d349ca83e68dce5b991.zip
Eliminate alias warning in gcc 4.5.2
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r--erts/emulator/beam/erl_process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index 31f23d3978..7a578ec882 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -7603,7 +7603,8 @@ continue_exit_process(Process *p
static void
timeout_proc(Process* p)
{
- p->i = *((BeamInstr **) (UWord) p->def_arg_reg);
+ BeamInstr** pi = (BeamInstr **) p->def_arg_reg;
+ p->i = *pi;
p->flags |= F_TIMO;
p->flags &= ~F_INSLPQUEUE;