fixed difference in signedness warnings and a uninitialized variable warning
authorThomas Bluemel <thomas@reactsoft.com>
Mon, 16 Jan 2006 16:29:02 +0000 (16:29 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Mon, 16 Jan 2006 16:29:02 +0000 (16:29 +0000)
svn path=/trunk/; revision=20912

reactos/hal/halx86/xbox/display_xbox.c
reactos/hal/halx86/xbox/font.c
reactos/hal/halx86/xbox/halxbox.h

index d9c7cd3..be52bd2 100644 (file)
@@ -295,7 +295,7 @@ HalInitializeDisplay (PLOADER_PARAMETER_BLOCK LoaderBlock)
   ULONG ScreenHeightPixels;
   PHYSICAL_ADDRESS PhysControl;
   PHYSICAL_ADDRESS PhysBuffer;
-  ULONG AvMode;
+  ULONG AvMode = 0;
   PVOID ControlBuffer;
 
   if (! DisplayInitialized)
index cb168d6..def13af 100644 (file)
@@ -16,7 +16,7 @@
 #define NDEBUG
 #include <debug.h>
 
-CHAR XboxFont8x16[256 * 16] =
+UCHAR XboxFont8x16[256 * 16] =
 {
   0x00,0x00,0x00,0x7c,0xc6,0xc6,0xde,0xde,0xde,0xdc,0xc0,0x7c,0x00,0x00,0x00,0x00, /* 0x00 */
   0x00,0x00,0x7e,0x81,0xa5,0x81,0x81,0xa5,0x99,0x81,0x81,0x7e,0x00,0x00,0x00,0x00, /* 0x01 */
index 644da8d..b4a496d 100644 (file)
@@ -15,7 +15,7 @@
 #include <hal.h>
 #include <ntdddisk.h>
 
-extern CHAR XboxFont8x16[256 * 16];
+extern UCHAR XboxFont8x16[256 * 16];
 
 void HalpXboxInitPciBus(ULONG BusNumber, PBUS_HANDLER BusHandler);
 void HalpXboxInitPartIo(void);