projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wrap gcc on Windows, to provide the -B flags
[ghc-hetmet.git]
/
rts
/
sm
/
MBlock.c
diff --git
a/rts/sm/MBlock.c
b/rts/sm/MBlock.c
index
b3fa13b
..
996b2c9
100644
(file)
--- a/
rts/sm/MBlock.c
+++ b/
rts/sm/MBlock.c
@@
-9,10
+9,9
@@
* ---------------------------------------------------------------------------*/
#include "PosixSource.h"
* ---------------------------------------------------------------------------*/
#include "PosixSource.h"
-
#include "Rts.h"
#include "Rts.h"
+
#include "RtsUtils.h"
#include "RtsUtils.h"
-#include "MBlock.h"
#include "BlockAlloc.h"
#include "Trace.h"
#include "OSMem.h"
#include "BlockAlloc.h"
#include "Trace.h"
#include "OSMem.h"
@@
-235,7
+234,7
@@
getMBlocks(nat n)
// fill in the table
for (i = 0; i < n; i++) {
// fill in the table
for (i = 0; i < n; i++) {
- markHeapAlloced( ret + i * MBLOCK_SIZE );
+ markHeapAlloced( (StgWord8*)ret + i * MBLOCK_SIZE );
}
mblocks_allocated += n;
}
mblocks_allocated += n;