Commit ab4a9f1b authored by Simon Marlow's avatar Simon Marlow
Browse files

FIX BUILD (on 32-bit platforms): hs_hpc_module() type mismatch

parent ed99161b
......@@ -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,
......
Supports Markdown
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