mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
fix warnings with -Wsign-compare and -Wpointer-arith
svn path=/trunk/; revision=16442
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
/* INCLUDES *****************************************************************/
|
||||
|
||||
#include <hal.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* GLOBALS *****************************************************************/
|
||||
|
||||
@@ -319,7 +319,7 @@ IOAPICSetupIrqs(VOID)
|
||||
entry.dest.logical.logical_dest = 0;
|
||||
|
||||
idx = IOAPICGetIrqEntry(apic,pin,INT_VECTORED);
|
||||
if (idx == -1)
|
||||
if (idx == (ULONG)-1)
|
||||
{
|
||||
if (first_notcon)
|
||||
{
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
/* INCLUDES *****************************************************************/
|
||||
|
||||
#include <hal.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* GLOBALS ******************************************************************/
|
||||
|
||||
@@ -302,7 +302,7 @@ HaliReadMPConfigTable(PMP_CONFIGURATION_TABLE Table)
|
||||
DPRINT("APIC at: %08x\n", Table->LocalAPICAddress);
|
||||
|
||||
|
||||
Entry = (PUCHAR)((PVOID)Table + sizeof(MP_CONFIGURATION_TABLE));
|
||||
Entry = (PUCHAR)((ULONG_PTR)Table + sizeof(MP_CONFIGURATION_TABLE));
|
||||
Count = 0;
|
||||
while (Count < (Table->Length - sizeof(MP_CONFIGURATION_TABLE)))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user