Author: stuge Date: Fri Feb 12 22:28:15 2010 New Revision: 5123 URL: http://tracker.coreboot.org/trac/coreboot/changeset/5123
Log: romcc: Fix a few (harmless) warnings Signed-off-by: Peter Stuge <[email protected]> Acked-by: Peter Stuge <[email protected]> Modified: trunk/util/romcc/romcc.c Modified: trunk/util/romcc/romcc.c ============================================================================== --- trunk/util/romcc/romcc.c Fri Feb 12 18:58:53 2010 (r5122) +++ trunk/util/romcc/romcc.c Fri Feb 12 22:28:15 2010 (r5123) @@ -10783,7 +10783,7 @@ error(state, 0, "negative string constant length"); } /* ignore empty string tokens */ - if (strcmp("\"", str) == 0) + if ('"' == *str && 0 == str[1]) continue; end = str + str_len; ptr = buf; @@ -21110,7 +21110,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); } -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

