diff options
-rw-r--r-- | src/common/util.c | 4 |
1 files 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; } |