The fix in the previous rev. wasn't complete.

This commit is contained in:
Markus Armbruster 2004-03-09 13:20:39 +00:00
parent f187082daa
commit 510a57f4ea

View file

@ -591,7 +591,7 @@ lwpStackCheckUsed(struct lwpProc *newp)
}
}
lwpStatus(newp, "stack use: %u bytes (of %u total)",
(i * sizeof(long)) - LWP_REDZONE,
i * (int)sizeof(long) - LWP_REDZONE,
newp->size - 2 * LWP_REDZONE - (int)sizeof(stkalign_t));
}