gcc 4.1 fixes.

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2177 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer
2006-02-19 14:43:48 +00:00
parent afd34e61ac
commit 7db27ee648
2 changed files with 5 additions and 5 deletions

View File

@@ -7627,7 +7627,7 @@ static struct triple *mkland_expr(
val = read_expr(state, var);
/* Generate the prog for a logical and */
def = mkprog(state, var, lstore, jmp, mid, rstore, end, val, 0);
def = mkprog(state, var, lstore, jmp, mid, rstore, end, val, 0UL);
return def;
}
@@ -7656,7 +7656,7 @@ static struct triple *mklor_expr(
val = read_expr(state, var);
/* Generate the prog for a logical or */
def = mkprog(state, var, left, jmp, mid, right, end, val, 0);
def = mkprog(state, var, left, jmp, mid, right, end, val, 0UL);
return def;
}
@@ -7722,7 +7722,7 @@ static struct triple *mkcond_expr(
val = read_expr(state, var);
/* Generate the prog for a conditional expression */
def = mkprog(state, var, jmp1, top, left, jmp2, mid, right, end, val, 0);
def = mkprog(state, var, jmp1, top, left, jmp2, mid, right, end, val, 0UL);
return def;
}
@@ -11588,7 +11588,7 @@ static struct triple *expr(struct compile_state *state)
def = assignment_expr(state);
while(peek(state) == TOK_COMMA) {
eat(state, TOK_COMMA);
def = mkprog(state, def, assignment_expr(state), 0);
def = mkprog(state, def, assignment_expr(state), 0UL);
}
return def;
}