j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: blueswirl Date: 2008-11-29 14:10:17 +0100 (Sat, 29 Nov 2008) New Revision: 269
Modified: openbios-devel/kernel/bootstrap.c Log: Fix some warnings
Modified: openbios-devel/kernel/bootstrap.c =================================================================== --- openbios-devel/kernel/bootstrap.c 2008-11-28 20:28:23 UTC (rev 268) +++ openbios-devel/kernel/bootstrap.c 2008-11-29 13:10:17 UTC (rev 269) @@ -411,7 +411,7 @@ 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 @@ writecell(LIT); writecell(pointer2cell(dict) + loco); writecell(LIT); - writecell(cnt); + writecell((ucell)cnt); writecell(DOBRANCH); loco = cnt + sizeof(cell) - 1; loco &= ~(sizeof(cell) - 1);