mirror of
https://github.com/moparisthebest/hexchat
synced 2025-02-16 23:30:16 -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;
|
double mhz;
|
||||||
|
|
||||||
osvi.dwOSVersionInfoSize = sizeof (OSVERSIONINFOEX);
|
osvi.dwOSVersionInfoSize = sizeof (OSVERSIONINFOEX);
|
||||||
GetVersionEx (&osvi);
|
GetVersionEx ((OSVERSIONINFO*) &osvi);
|
||||||
|
|
||||||
switch (osvi.dwMajorVersion)
|
switch (osvi.dwMajorVersion)
|
||||||
{
|
{
|
||||||
@ -740,7 +740,7 @@ get_cpu_str (void)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
strcpy (winver, "8 Server");
|
strcpy (winver, "Server 2012");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user