Author: stepan
Date: 2008-08-01 13:48:00 +0200 (Fri, 01 Aug 2008)
New Revision: 3450

Modified:
   trunk/coreboot-v2/src/stream/rom_stream.c
Log:
fix compile warnings of rom_stream.c (trivial)

Signed-off-by: Stefan Reinauer <[EMAIL PROTECTED]>
Acked-by: Stefan Reinauer <[EMAIL PROTECTED]>


Modified: trunk/coreboot-v2/src/stream/rom_stream.c
===================================================================
--- trunk/coreboot-v2/src/stream/rom_stream.c   2008-08-01 11:40:16 UTC (rev 
3449)
+++ trunk/coreboot-v2/src/stream/rom_stream.c   2008-08-01 11:48:00 UTC (rev 
3450)
@@ -80,8 +80,8 @@
 #if _RAMBASE<0x00100000
        olen = *(unsigned int *)dest;
 #if (CONFIG_CONSOLE_VGA==1) || (CONFIG_PCI_ROM_RUN == 1)
-       if((dest < 0xa0000) && ((dest+olen)>0xa0000)) {
-               dest = (CONFIG_LB_MEM_TOPK<<10);
+       if((dest < (unsigned char *)0xa0000) && ((dest+olen)>(unsigned char 
*)0xa0000)) {
+               dest = (unsigned char *)(CONFIG_LB_MEM_TOPK<<10);
        }
 #endif
         if((dest < (unsigned char *) 0xf0000) && ((dest+olen)> (unsigned char 
*)0xf0000)) { // coreboot tables etc


--
coreboot mailing list
[email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to