[ros-diffs] [tfaber] 54299: [KERNEL32] - Fix MSVC build

tfaber at svn.reactos.org tfaber at svn.reactos.org
Sat Nov 5 11:39:38 UTC 2011


Author: tfaber
Date: Sat Nov  5 11:39:37 2011
New Revision: 54299

URL: http://svn.reactos.org/svn/reactos?rev=54299&view=rev
Log:
[KERNEL32]
- Fix MSVC build

Modified:
    trunk/reactos/dll/win32/kernel32/client/except.c

Modified: trunk/reactos/dll/win32/kernel32/client/except.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/except.c?rev=54299&r1=54298&r2=54299&view=diff
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/except.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/except.c [iso-8859-1] Sat Nov  5 11:39:37 2011
@@ -88,7 +88,7 @@
 
     _dump_context (ContextRecord);
     _module_name_from_addr(ExceptionRecord->ExceptionAddress, &StartAddr, szMod, sizeof(szMod));
-    DbgPrint("Address:\n   %8x+%-8x   %s\n", 
+    DbgPrint("Address:\n   %8x+%-8x   %s\n",
              (PVOID)StartAddr,
              (ULONG_PTR)ExceptionRecord->ExceptionAddress - (ULONG_PTR)StartAddr,
              szMod);
@@ -242,6 +242,7 @@
    ULONG_PTR ErrorParameters[4];
    ULONG ErrorResponse;
    PEXCEPTION_RECORD ExceptionRecord = ExceptionInfo->ExceptionRecord;
+   LPTOP_LEVEL_EXCEPTION_FILTER RealFilter;
 
    if ((NTSTATUS)ExceptionRecord->ExceptionCode == STATUS_ACCESS_VIOLATION &&
        ExceptionRecord->NumberParameters >= 2)
@@ -278,7 +279,6 @@
       return EXCEPTION_CONTINUE_SEARCH;
    }
 
-   LPTOP_LEVEL_EXCEPTION_FILTER RealFilter;
    RealFilter = RtlDecodePointer(GlobalTopLevelExceptionFilter);
    if (RealFilter)
    {
@@ -436,7 +436,7 @@
 SetUnhandledExceptionFilter(IN LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter)
 {
     PVOID EncodedPointer, NewPointer;
-    
+
     EncodedPointer = RtlEncodePointer(lpTopLevelExceptionFilter);
     NewPointer = InterlockedExchangePointer(&GlobalTopLevelExceptionFilter,
                                             EncodedPointer);
@@ -475,7 +475,7 @@
     {
         /* Do an initial probe */
         *Current;
-        
+
         /* Align the addresses */
         Current = (volatile CHAR *)ROUND_DOWN(Current, PageSize);
         Last = (PCHAR)ROUND_DOWN(Last, PageSize);
@@ -553,7 +553,7 @@
     {
         /* Do an initial probe */
         *Current = *Current;
-        
+
         /* Align the addresses */
         Current = (volatile CHAR *)ROUND_DOWN(Current, PageSize);
         Last = (PCHAR)ROUND_DOWN(Last, PageSize);




More information about the Ros-diffs mailing list