aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-03-08 17:15:18 +0100
committerSverker Eriksson <[email protected]>2016-03-08 17:15:45 +0100
commite4fd76bdd9dd15547531947aaecf487385a6d796 (patch)
treeafdfa4eb4982e6287b13a3c15ab4c28426b7c661
parent2850f5f8dc46c804abff506f7fad8dc5e70229b2 (diff)
downloadotp-e4fd76bdd9dd15547531947aaecf487385a6d796.tar.gz
otp-e4fd76bdd9dd15547531947aaecf487385a6d796.tar.bz2
otp-e4fd76bdd9dd15547531947aaecf487385a6d796.zip
erts: Fix alloc_SUITE:rbtree and migration for win64
One little (unsigned long) left behind.
-rw-r--r--erts/emulator/beam/erl_alloc_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_alloc_util.c b/erts/emulator/beam/erl_alloc_util.c
index 18312eacde..d9eaa7b32c 100644
--- a/erts/emulator/beam/erl_alloc_util.c
+++ b/erts/emulator/beam/erl_alloc_util.c
@@ -6049,7 +6049,7 @@ erts_alcu_test(UWord op, UWord a1, UWord a2)
case 0x019: return (UWord) PREV_BLK((Block_t *) a1);
case 0x01a: return (UWord) IS_MBC_FIRST_BLK((Allctr_t*)a1, (Block_t *) a2);
case 0x01b: return (UWord) sizeof(Unit_t);
- case 0x01c: return (unsigned long) BLK_TO_MBC((Block_t*) a1);
+ case 0x01c: return (UWord) BLK_TO_MBC((Block_t*) a1);
case 0x01d: ((Allctr_t*) a1)->add_mbc((Allctr_t*)a1, (Carrier_t*)a2); break;
case 0x01e: ((Allctr_t*) a1)->remove_mbc((Allctr_t*)a1, (Carrier_t*)a2); break;
#ifdef ERTS_SMP