aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 dd88f59908..10c7af5a9d 100644
--- a/erts/emulator/beam/erl_nif.c
+++ b/erts/emulator/beam/erl_nif.c
@@ -1733,7 +1733,7 @@ int enif_get_map_value(ErlNifEnv* env,
Eterm key,
Eterm *value)
{
- Eterm *ret;
+ const Eterm *ret;
if (is_not_map(map)) {
return 0;
}