mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-22 17:22:18 -05:00
Eliminate compiler warning and update Windows Server name
This commit is contained in:
parent
05407ee466
commit
b1db3cf514
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user