Commit 1322d0f3 authored by Simon Marlow's avatar Simon Marlow
Browse files

Fix more warnings

parent ab4a9f1b
...@@ -193,7 +193,7 @@ hs_hpc_module(char *modName, ...@@ -193,7 +193,7 @@ hs_hpc_module(char *modName,
unsigned int i; unsigned int i;
int offset = 0; int offset = 0;
debugTrace(DEBUG_hpc,"hs_hpc_module(%s,%d)",modName,modCount); debugTrace(DEBUG_hpc,"hs_hpc_module(%s,%d)",modName,(nat)modCount);
hpc_init(); hpc_init();
...@@ -288,9 +288,9 @@ writeTix(FILE *f) { ...@@ -288,9 +288,9 @@ writeTix(FILE *f) {
(nat)tmpModule->tickCount); (nat)tmpModule->tickCount);
debugTrace(DEBUG_hpc,"%s: %u (offset=%u) (hash=%u)\n", debugTrace(DEBUG_hpc,"%s: %u (offset=%u) (hash=%u)\n",
tmpModule->modName, tmpModule->modName,
tmpModule->tickCount, (nat)tmpModule->tickCount,
tmpModule->hashNo, (nat)tmpModule->hashNo,
tmpModule->tickOffset); (nat)tmpModule->tickOffset);
inner_comma = 0; inner_comma = 0;
for(i = 0;i < tmpModule->tickCount;i++) { for(i = 0;i < tmpModule->tickCount;i++) {
......
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