aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/nif_SUITE_data/nif_SUITE.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-03-11 21:09:33 +0100
committerBjörn-Egil Dahlberg <[email protected]>2015-03-12 19:15:34 +0100
commit2aeb8cfd42be8ab1b7eee4a7f144122223dd7261 (patch)
treed18c6f75d228e8a89b1c59407c5b92708828aeaf /erts/emulator/test/nif_SUITE_data/nif_SUITE.c
parent81551dd13167b9c4458c4fee7ce08e152f9f5273 (diff)
downloadotp-2aeb8cfd42be8ab1b7eee4a7f144122223dd7261.tar.gz
otp-2aeb8cfd42be8ab1b7eee4a7f144122223dd7261.tar.bz2
otp-2aeb8cfd42be8ab1b7eee4a7f144122223dd7261.zip
erts: Fix nif API for hashmaps
Diffstat (limited to 'erts/emulator/test/nif_SUITE_data/nif_SUITE.c')
-rw-r--r--erts/emulator/test/nif_SUITE_data/nif_SUITE.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/test/nif_SUITE_data/nif_SUITE.c b/erts/emulator/test/nif_SUITE_data/nif_SUITE.c
index 85544db2ab..7b49f23d0a 100644
--- a/erts/emulator/test/nif_SUITE_data/nif_SUITE.c
+++ b/erts/emulator/test/nif_SUITE_data/nif_SUITE.c
@@ -1744,6 +1744,7 @@ static ERL_NIF_TERM sorted_list_from_maps_nif(ErlNifEnv* env, int argc, const ER
list_b = enif_make_list_cell(env, enif_make_tuple2(env, key, value), list_b);
prev_ret = enif_map_iterator_prev(env,&iter_b);
+ cnt++;
}
if (cnt) {