fix signed/unsigned and size_t issue
This commit is contained in:
parent
6b436cba01
commit
c00145de58
@ -77,10 +77,10 @@ void test_stack_detection(int stage, size_t stack_allocation)
|
|||||||
stack_allocation_total= 0;
|
stack_allocation_total= 0;
|
||||||
res= test_stack(stack_start, stack_end, 1, stack_allocation);
|
res= test_stack(stack_start, stack_end, 1, stack_allocation);
|
||||||
if (!res)
|
if (!res)
|
||||||
ok(1, "%ld bytes allocated on stack of size %ld with %ld alloc size",
|
ok(1, "%llu bytes allocated on stack of size %ld with %lu alloc size",
|
||||||
stack_allocation_total,
|
(unsigned long long) stack_allocation_total,
|
||||||
(long) available_stack_size(stack_start, stack_end),
|
(long) available_stack_size(stack_start, stack_end),
|
||||||
(long) stack_allocation);
|
(unsigned long) stack_allocation);
|
||||||
else
|
else
|
||||||
ok(0, "stack checking failed");
|
ok(0, "stack checking failed");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user