Commit c759c9df authored by Swann Perarnau's avatar Swann Perarnau

[fix] fixup unit tests

Mbind is giving us trouble again, will need to spend time looking at it
carefully.
parent e66f5948
Pipeline #6989 passed with stage
in 9 minutes and 49 seconds
......@@ -13,7 +13,7 @@ UTILS_TESTS = vector
ARENA_JEMALLOC_TESTS = arena_jemalloc
AREA_LINUX_TESTS = linux_mbind \
AREA_LINUX_TESTS = \
linux_mmap \
linux_manager \
area_linux
......
......@@ -34,7 +34,7 @@ void doit(struct aml_area *area)
/* memalign */
ptr = aml_area_memalign(area, 16, sizeof(unsigned long));
assert(ptr != NULL);
iptr = ptr;
iptr = (intptr_t)ptr;
assert(iptr % 16 == 0);
aml_area_free(area, ptr);
......
......@@ -40,7 +40,7 @@ int main(int argc, char *argv[])
/* memalign */
ptr = aml_area_memalign(&area, 16, sizeof(unsigned long));
assert(ptr != NULL);
iptr = ptr;
iptr = (intptr_t)ptr;
assert(iptr % 16 == 0);
aml_area_free(&area, ptr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment