diff options
author | Sverker Eriksson <[email protected]> | 2013-09-19 17:50:39 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-09-19 17:50:39 +0200 |
commit | 138737feb3acd4dd5be310bc8f39712adcafc175 (patch) | |
tree | c094f04442be8172b04b1352885d0d471d872db6 | |
parent | 439d7e1b81b77e3930d81a6ea9bbadb3cff30fa4 (diff) | |
download | otp-138737feb3acd4dd5be310bc8f39712adcafc175.tar.gz otp-138737feb3acd4dd5be310bc8f39712adcafc175.tar.bz2 otp-138737feb3acd4dd5be310bc8f39712adcafc175.zip |
erts: Fix compiler warning
-rw-r--r-- | erts/emulator/beam/erl_nif.c | 2 |
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; |