aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-09-19 17:50:39 +0200
committerSverker Eriksson <[email protected]>2013-09-19 17:50:39 +0200
commit138737feb3acd4dd5be310bc8f39712adcafc175 (patch)
treec094f04442be8172b04b1352885d0d471d872db6
parent439d7e1b81b77e3930d81a6ea9bbadb3cff30fa4 (diff)
downloadotp-138737feb3acd4dd5be310bc8f39712adcafc175.tar.gz
otp-138737feb3acd4dd5be310bc8f39712adcafc175.tar.bz2
otp-138737feb3acd4dd5be310bc8f39712adcafc175.zip
erts: Fix compiler warning
-rw-r--r--erts/emulator/beam/erl_nif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_nif.c b/erts/emulator/beam/erl_nif.c
index ee480fb661..9e2e588161 100644
--- a/erts/emulator/beam/erl_nif.c
+++ b/erts/emulator/beam/erl_nif.c
@@ -1609,7 +1609,7 @@ BIF_RETTYPE load_nif_2(BIF_ALIST_2)
ASSERT(mod != NULL);
mod_atomp = atom_tab(atom_val(mod_atom));
- init_func = erts_static_nif_get_nif_init(mod_atomp->name, mod_atomp->len);
+ init_func = erts_static_nif_get_nif_init((char*)mod_atomp->name, mod_atomp->len);
if (init_func != NULL)
handle = init_func;