From f02069cdbe9c53cda991117df9038b4d00eec00a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Mon, 21 Nov 2011 12:17:57 +0000 Subject: [PATCH] [HALx86] - Hey Arch, it's an USHORT! svn path=/trunk/; revision=54471 --- reactos/hal/halx86/generic/bios.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/hal/halx86/generic/bios.c b/reactos/hal/halx86/generic/bios.c index f8edb658b02..2fb9ef98f01 100644 --- a/reactos/hal/halx86/generic/bios.c +++ b/reactos/hal/halx86/generic/bios.c @@ -377,7 +377,7 @@ VOID NTAPI HalpStoreAndClearIopm(VOID) { - ULONG i, j; + USHORT i, j; PUSHORT Entry = HalpSavedIoMap; // @@ -394,7 +394,7 @@ HalpStoreAndClearIopm(VOID) // Save it // ASSERT(j < 32); - HalpSavedIoMapData[j][0] = (UCHAR)i; + HalpSavedIoMapData[j][0] = i; HalpSavedIoMapData[j][1] = *Entry; j++; }