projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the profiling build
[ghc-hetmet.git]
/
rts
/
Threads.c
diff --git
a/rts/Threads.c
b/rts/Threads.c
index
e86630e
..
dcb916a
100644
(file)
--- a/
rts/Threads.c
+++ b/
rts/Threads.c
@@
-667,7
+667,7
@@
threadStackUnderflow (Capability *cap, StgTSO *tso)
if (retvals != 0)
{
// we have some return values to copy to the old stack
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");
}
{
barf("threadStackUnderflow: not enough space for return values");
}