aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_nif.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-01-17 12:32:42 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-01-29 11:08:47 +0100
commitf2b9a5623ec5c9a314560add82ef20a03ba91235 (patch)
tree33f6d94566fe466305585f990b555f073cbdebe1 /erts/emulator/beam/erl_nif.c
parent9eddc8eb4c7f4ef45b51650750334a787c5f9ef7 (diff)
downloadotp-f2b9a5623ec5c9a314560add82ef20a03ba91235.tar.gz
otp-f2b9a5623ec5c9a314560add82ef20a03ba91235.tar.bz2
otp-f2b9a5623ec5c9a314560add82ef20a03ba91235.zip
erts: Change 'size' argument of enif_get_map_size from int* to size_t*
Diffstat (limited to 'erts/emulator/beam/erl_nif.c')
-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 6fceb8a0ba..c35f1fc2c6 100644
--- a/erts/emulator/beam/erl_nif.c
+++ b/erts/emulator/beam/erl_nif.c
@@ -1610,7 +1610,7 @@ int enif_is_map(ErlNifEnv* env, ERL_NIF_TERM term)
return is_map(term);
}
-int enif_get_map_size(ErlNifEnv* env, ERL_NIF_TERM term, int *size)
+int enif_get_map_size(ErlNifEnv* env, ERL_NIF_TERM term, size_t *size)
{
if (is_map(term)) {
map_t *mp;