aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-10-27 18:10:37 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-10-27 18:10:37 +0100
commita2ffd6fd0e7f693847450aa633f7a4a18f9baead (patch)
treecccf1f3da2cf16c7635685c1382cdc90f2df3d25 /erts/emulator/beam
parenta46f30f38f0e757e9aa335e1452879db608d8489 (diff)
downloadotp-a2ffd6fd0e7f693847450aa633f7a4a18f9baead.tar.gz
otp-a2ffd6fd0e7f693847450aa633f7a4a18f9baead.tar.bz2
otp-a2ffd6fd0e7f693847450aa633f7a4a18f9baead.zip
erts: Fix return value from erts_maps_get to be const
From "warning: assignment discards qualifiers from pointer target type"
Diffstat (limited to 'erts/emulator/beam')
-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;
}