diff options
author | benl@cse.unsw.edu.au <unknown> | 2010-02-03 02:31:24 +0000 |
---|---|---|
committer | benl@cse.unsw.edu.au <unknown> | 2010-02-03 02:31:24 +0000 |
commit | b0beadabbe180e3bc729e27a5de79f9f1fc3bd0a (patch) | |
tree | daf2cb2cf9a9bbe376dda7308f3bddb183b4af37 /rts/Hpc.c | |
parent | b482880da3b1a849ac8b6157ab693159cdc24998 (diff) | |
download | haskell-b0beadabbe180e3bc729e27a5de79f9f1fc3bd0a.tar.gz |
Stifle warning about printf format strings
Diffstat (limited to 'rts/Hpc.c')
-rw-r--r-- | rts/Hpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -200,7 +200,7 @@ static void hpc_init(void) { /* Then, try open the file */ tixFilename = (char *) malloc(strlen(hpc_tixdir) + strlen(prog_name) + 12); - sprintf(tixFilename,"%s/%s-%d.tix",hpc_tixdir,prog_name,hpc_pid); + sprintf(tixFilename,"%s/%s-%d.tix",hpc_tixdir,prog_name,(int)hpc_pid); } else { tixFilename = (char *) malloc(strlen(prog_name) + 6); sprintf(tixFilename, "%s.tix", prog_name); |