From b1db3cf514eb5ee78e5b1028c197e800e7368765 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Thu, 25 Oct 2012 22:04:16 +0200 Subject: Eliminate compiler warning and update Windows Server name --- src/common/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/util.c b/src/common/util.c index f05a2c9e..0881c708 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -681,7 +681,7 @@ get_cpu_str (void) double mhz; osvi.dwOSVersionInfoSize = sizeof (OSVERSIONINFOEX); - GetVersionEx (&osvi); + GetVersionEx ((OSVERSIONINFO*) &osvi); switch (osvi.dwMajorVersion) { @@ -740,7 +740,7 @@ get_cpu_str (void) } else { - strcpy (winver, "8 Server"); + strcpy (winver, "Server 2012"); } break; } -- cgit 1.4.1