Commit d34e2988 authored by Simon Marlow's avatar Simon Marlow

fix warning

parent c391db23
......@@ -667,7 +667,7 @@ threadStackUnderflow (Capability *cap, StgTSO *tso)
if (retvals != 0)
{
// we have some return values to copy to the old stack
if ((new_stack->sp - new_stack->stack) < retvals)
if ((nat)(new_stack->sp - new_stack->stack) < retvals)
{
barf("threadStackUnderflow: not enough space for return values");
}
......
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