Austin English : kernel32: Fix a compiler warning on NetBSD.
Alexandre Julliard
julliard at winehq.org
Mon Jan 19 08:58:43 CST 2009
Module: wine
Branch: master
Commit: 7f3439d556b65f86901afbe11122e74afa0e3d64
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7f3439d556b65f86901afbe11122e74afa0e3d64
Author: Austin English <austinenglish at gmail.com>
Date: Fri Jan 16 16:08:36 2009 -0600
kernel32: Fix a compiler warning on NetBSD.
---
dlls/kernel32/cpu.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel32/cpu.c b/dlls/kernel32/cpu.c
index 95ac469..0898117 100644
--- a/dlls/kernel32/cpu.c
+++ b/dlls/kernel32/cpu.c
@@ -559,8 +559,7 @@ VOID WINAPI GetSystemInfo(
mib[1] = CPU_FPU_PRESENT;
val_len = sizeof(value);
if (sysctl(mib, 2, &value, &val_len, NULL, 0) >= 0)
- if (value) PF[PF_FLOATING_POINT_EMULATED] = FALSE;
- else PF[PF_FLOATING_POINT_EMULATED] = TRUE;
+ PF[PF_FLOATING_POINT_EMULATED] = !value;
#endif
#ifdef CPU_SSE
mib[1] = CPU_SSE; /* this should imply MMX */
More information about the wine-cvs
mailing list