projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ab4a9f1
)
Fix more warnings
author
Simon Marlow
<simonmar@microsoft.com>
Tue, 23 Oct 2007 13:13:51 +0000
(13:13 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Tue, 23 Oct 2007 13:13:51 +0000
(13:13 +0000)
rts/Hpc.c
patch
|
blob
|
history
diff --git
a/rts/Hpc.c
b/rts/Hpc.c
index
3922d44
..
014319c
100644
(file)
--- a/
rts/Hpc.c
+++ b/
rts/Hpc.c
@@
-193,7
+193,7
@@
hs_hpc_module(char *modName,
unsigned int i;
int offset = 0;
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();
hpc_init();
@@
-288,9
+288,9
@@
writeTix(FILE *f) {
(nat)tmpModule->tickCount);
debugTrace(DEBUG_hpc,"%s: %u (offset=%u) (hash=%u)\n",
tmpModule->modName,
(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++) {
inner_comma = 0;
for(i = 0;i < tmpModule->tickCount;i++) {