Author: stepan Date: 2009-11-26 14:39:54 +0100 (Thu, 26 Nov 2009) New Revision: 69
Modified: trunk/SerialICE/util/romcc.c Log: Fix this warning:
HOSTCC build/romcc SerialICE/util/romcc.c: In function 'scc_transform': SerialICE/util/romcc.c:21097: warning: format '%5ld' expects type 'long int', but argument 3 has type 'int'
I hope it's the right fix.
Signed-off-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/SerialICE/util/romcc.c =================================================================== --- trunk/SerialICE/util/romcc.c 2009-11-26 12:14:48 UTC (rev 68) +++ trunk/SerialICE/util/romcc.c 2009-11-26 13:39:54 UTC (rev 69) @@ -21092,7 +21092,7 @@
if (state->compiler->debug & DEBUG_SCC_TRANSFORM) { fprintf(state->errout, "sedge: %5ld (%5d -> %5d)\n", - sedge - scc.ssa_edges, + (unsigned long)sedge - (unsigned long)scc.ssa_edges, sedge->src->def->id, sedge->dst->def->id); }