mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix some warnings
git-svn-id: svn://coreboot.org/openbios/openbios-devel@269 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user