--- branches/xen/reactos/boot/freeldr/freeldr/arch/i386/xenvideo.c 2005-05-16 20:42:36 UTC (rev 15358)
+++ branches/xen/reactos/boot/freeldr/freeldr/arch/i386/xenvideo.c 2005-05-16 21:20:48 UTC (rev 15359)
@@ -84,7 +84,7 @@
{
for (X = 0; X < COLS; X++)
{
- ShadowBuffer[2 * (Y * COLS + X)] = ' ';
+ ShadowBuffer[2 * (Y * COLS + X)] = (UCHAR) ' ';
ShadowBuffer[2 * (Y * COLS + X) + 1] = Attr;
}
}
@@ -124,7 +124,7 @@
}
}
- if (Ch != ShadowBuffer[2 * (Y * COLS + X)]
+ if ((UCHAR) Ch != ShadowBuffer[2 * (Y * COLS + X)]
|| Attr != ShadowBuffer[2 * (Y * COLS + X) + 1])
{
if (X != CurrentX || Y != CurrentY)
@@ -138,7 +138,7 @@
XenConsPutChar(Ch);
CurrentX++;
- ShadowBuffer[2 * (Y * COLS + X)] = Ch;
+ ShadowBuffer[2 * (Y * COLS + X)] = (UCHAR) Ch;
ShadowBuffer[2 * (Y * COLS + X) + 1] = Attr;
}
}