diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-25 22:04:16 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-25 22:04:16 +0200 |
commit | b1db3cf514eb5ee78e5b1028c197e800e7368765 (patch) | |
tree | f3ce5542bf1881cb19b7cc7df9f1c1779d2b471c /src/common | |
parent | 05407ee4664350bc02476511e9e2c4262ad8d880 (diff) |
Eliminate compiler warning and update Windows Server name
Diffstat (limited to 'src/common')
-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; } |