Fix some warnings

git-svn-id: svn://coreboot.org/openbios/openbios-devel@269 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2008-11-29 13:10:17 +00:00
parent 2070f7e584
commit f34790fc87

View File

@@ -411,7 +411,7 @@ static void buildconstant(char *name, cell defval)
static void builddefer(char *name)
{
fcreate(name, DODFR); /* see dict.h for DODFR and other CFA ids */
writecell(0);
writecell((ucell)0);
writecell((ucell)findword("(semis)"));
}
@@ -611,7 +611,7 @@ static int interpret_source(char *fil)
writecell(LIT);
writecell(pointer2cell(dict) + loco);
writecell(LIT);
writecell(cnt);
writecell((ucell)cnt);
writecell(DOBRANCH);
loco = cnt + sizeof(cell) - 1;
loco &= ~(sizeof(cell) - 1);