Eliminate compiler warning and update Windows Server name

This commit is contained in:
Berke Viktor 2012-10-25 22:04:16 +02:00
parent 05407ee466
commit b1db3cf514

View File

@ -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;
}