André Hentschel : kernel32: Initialise dwProcessorType .
Alexandre Julliard
julliard at winehq.org
Thu Jun 16 14:28:47 CDT 2011
Module: wine
Branch: master
Commit: 8a8a700513719c8f4f5fbbf7d038756424a39698
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8a8a700513719c8f4f5fbbf7d038756424a39698
Author: André Hentschel <nerv at dawncrow.de>
Date: Wed Jun 15 20:51:45 2011 +0200
kernel32: Initialise dwProcessorType.
---
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;
More information about the wine-cvs
mailing list