diff options
Diffstat (limited to 'test/src/testhashmap.c')
| -rw-r--r-- | test/src/testhashmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/testhashmap.c b/test/src/testhashmap.c index 9728977..b166e5a 100644 --- a/test/src/testhashmap.c +++ b/test/src/testhashmap.c @@ -157,7 +157,7 @@ static int lookup(void) BH_VERIFY(bh_hashmap_at(hashmap, BH_INT2PTR(i * 4), NULL) == BH_OK); BH_VERIFY(bh_hashmap_at(hashmap, BH_INT2PTR(i * 4), &value) == BH_OK); - BH_VERIFY(BH_PTR2INT(value) == i); + BH_VERIFY(BH_PTR2INT(value) == (int)i); } /* Lookup non-existing elements */ |
