Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5123
2b7e53f0-3cfb-0310-b3e9-
8179ed1497e1
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;
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);
}