summaryrefslogtreecommitdiff
path: root/rts/Hpc.c
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-10-23 08:22:33 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-10-23 08:22:33 +0000
commitab4a9f1bd7820d9308e56f645adef9a4b5d8ee76 (patch)
treef62986e41504d55188a57fcabceb17d23facc365 /rts/Hpc.c
parented99161b28b2eea66f4b1b033ee57cfd2be127db (diff)
downloadhaskell-ab4a9f1bd7820d9308e56f645adef9a4b5d8ee76.tar.gz
FIX BUILD (on 32-bit platforms): hs_hpc_module() type mismatch
Diffstat (limited to 'rts/Hpc.c')
-rw-r--r--rts/Hpc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/rts/Hpc.c b/rts/Hpc.c
index aa7ffe9244..3922d44073 100644
--- a/rts/Hpc.c
+++ b/rts/Hpc.c
@@ -186,8 +186,8 @@ static void hpc_init(void) {
int
hs_hpc_module(char *modName,
- unsigned int modCount,
- unsigned int modHashNo,
+ StgWord32 modCount,
+ StgWord32 modHashNo,
StgWord64 *tixArr) {
HpcModuleInfo *tmpModule, *lastModule;
unsigned int i;
@@ -284,8 +284,8 @@ writeTix(FILE *f) {
}
fprintf(f," TixModule \"%s\" %u %u [",
tmpModule->modName,
- tmpModule->hashNo,
- tmpModule->tickCount);
+ (nat)tmpModule->hashNo,
+ (nat)tmpModule->tickCount);
debugTrace(DEBUG_hpc,"%s: %u (offset=%u) (hash=%u)\n",
tmpModule->modName,
tmpModule->tickCount,