mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
fix warnings with -Wsign-compare and -Wpointer-arith
svn path=/trunk/; revision=16442
This commit is contained in:
parent
cc6ffdce48
commit
5979e80363
2 changed files with 6 additions and 6 deletions
|
@ -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)))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue