[1/3] kernel32: initialise dwProcessorType

André Hentschel nerv at dawncrow.de
Wed Jun 15 13:51:45 CDT 2011


---
 dlls/kernel32/cpu.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/cpu.c b/dlls/kernel32/cpu.c
index 5d45941..560c060 100644
--- a/dlls/kernel32/cpu.c
+++ b/dlls/kernel32/cpu.c
@@ -157,7 +157,9 @@ VOID WINAPI GetSystemInfo(
     case PROCESSOR_ARCHITECTURE_AMD64:
         si->dwProcessorType = PROCESSOR_AMD_X8664;
         break;
-    default: FIXME("Unknown processor architecture %x\n", sci.Architecture);
+    default:
+        FIXME("Unknown processor architecture %x\n", sci.Architecture);
+        si->dwProcessorType = 0;
     }
     si->dwAllocationGranularity     = sbi.AllocationGranularity;
     si->wProcessorLevel             = sci.Level;
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list