X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FHpc.c;h=014319cf233f0cbd43fa48a1294d6369daeba039;hp=3922d44073fd6aea834d7516a06c0aef7770b3ee;hb=c004ec62b41aa2137b5b5e298ca562609b0de92e;hpb=ab4a9f1bd7820d9308e56f645adef9a4b5d8ee76 diff --git a/rts/Hpc.c b/rts/Hpc.c index 3922d44..014319c 100644 --- a/rts/Hpc.c +++ b/rts/Hpc.c @@ -193,7 +193,7 @@ hs_hpc_module(char *modName, unsigned int i; 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(); @@ -288,9 +288,9 @@ writeTix(FILE *f) { (nat)tmpModule->tickCount); debugTrace(DEBUG_hpc,"%s: %u (offset=%u) (hash=%u)\n", tmpModule->modName, - tmpModule->tickCount, - tmpModule->hashNo, - tmpModule->tickOffset); + (nat)tmpModule->tickCount, + (nat)tmpModule->hashNo, + (nat)tmpModule->tickOffset); inner_comma = 0; for(i = 0;i < tmpModule->tickCount;i++) {