sync trunk head (r37928)
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 8 Dec 2008 08:30:30 +0000 (08:30 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 8 Dec 2008 08:30:30 +0000 (08:30 +0000)
svn path=/branches/ros-amd64-bringup/; revision=37931

19 files changed:
1  2 
reactos/dll/cpl/sysdm/startrec.c
reactos/dll/win32/advapi32/reg/reg.c
reactos/dll/win32/beepmidi/beepmidi.c
reactos/dll/win32/kernel32/debug/debugger.c
reactos/dll/win32/kernel32/except/except.c
reactos/dll/win32/kernel32/thread/thread.c
reactos/dll/win32/lsasrv/lsasrv.rbuild
reactos/dll/win32/msafd/misc/dllmain.c
reactos/drivers/setup/blue/font.c
reactos/drivers/video/videoprt/videoprt.c
reactos/hal/halx86/include/apic.h
reactos/hal/halx86/mp/apic.c
reactos/lib/sdk/crt/stdio/file.c
reactos/ntoskrnl/config/i386/cmhardwr.c
reactos/ntoskrnl/mm/anonmem.c
reactos/ntoskrnl/mm/iospace.c
reactos/ntoskrnl/mm/mdlsup.c
reactos/ntoskrnl/mm/procsup.c
reactos/ntoskrnl/ps/kill.c

Simple merge
Simple merge
Simple merge
@@@ -232,7 -232,7 +232,7 @@@ ProcessIdToHandle(IN DWORD dwProcessId
      CLIENT_ID ClientId;
  
      /* If we don't have a PID, look it up */
-     if (dwProcessId == -1) dwProcessId = (ULONG_PTR)CsrGetProcessId();
 -    if (dwProcessId == -1U) dwProcessId = (DWORD)CsrGetProcessId();
++    if (dwProcessId == -1U) dwProcessId = (DWORD_PTR)CsrGetProcessId();
  
      /* Open a handle to the process */
      ClientId.UniqueThread = NULL;
@@@ -219,10 -213,10 +219,10 @@@ UnhandledExceptionFilter(struct _EXCEPT
     LONG RetValue;
     HANDLE DebugPort = NULL;
     NTSTATUS ErrCode;
 -   ULONG ErrorParameters[4];
 +   ULONG_PTR ErrorParameters[4];
     ULONG ErrorResponse;
  
-    if (ExceptionInfo->ExceptionRecord->ExceptionCode == STATUS_ACCESS_VIOLATION &&
+    if ((NTSTATUS)ExceptionInfo->ExceptionRecord->ExceptionCode == STATUS_ACCESS_VIOLATION &&
         ExceptionInfo->ExceptionRecord->NumberParameters >= 2)
     {
        switch(ExceptionInfo->ExceptionRecord->ExceptionInformation[0])
  
     /* Save exception code and address */
     ErrorParameters[0] = (ULONG)ExceptionInfo->ExceptionRecord->ExceptionCode;
 -   ErrorParameters[1] = (ULONG)ExceptionInfo->ExceptionRecord->ExceptionAddress;
 +   ErrorParameters[1] = (ULONG_PTR)ExceptionInfo->ExceptionRecord->ExceptionAddress;
  
-    if (ExceptionInfo->ExceptionRecord->ExceptionCode == STATUS_ACCESS_VIOLATION)
+    if ((NTSTATUS)ExceptionInfo->ExceptionRecord->ExceptionCode == STATUS_ACCESS_VIOLATION)
     {
         /* get the type of operation that caused the access violation */
         ErrorParameters[2] = ExceptionInfo->ExceptionRecord->ExceptionInformation[0];
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge