summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-24 23:32:21 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-24 23:32:21 +0100
commita5fb931e8ee16015a31a675ef9c9fc5e856b003c (patch)
tree39c083c0b0aa98e7c01e0492425071c822ff9914
parent486d6535867d35e801e9f0b11423783e5b6caadc (diff)
downloadMultiMC-a5fb931e8ee16015a31a675ef9c9fc5e856b003c.tar
MultiMC-a5fb931e8ee16015a31a675ef9c9fc5e856b003c.tar.gz
MultiMC-a5fb931e8ee16015a31a675ef9c9fc5e856b003c.tar.lz
MultiMC-a5fb931e8ee16015a31a675ef9c9fc5e856b003c.tar.xz
MultiMC-a5fb931e8ee16015a31a675ef9c9fc5e856b003c.zip
NOISSUE fix build (OSVERSIONINFOW)
-rw-r--r--libraries/ganalytics/src/sys_win32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/ganalytics/src/sys_win32.cpp b/libraries/ganalytics/src/sys_win32.cpp
index d5e33172..ecef26e4 100644
--- a/libraries/ganalytics/src/sys_win32.cpp
+++ b/libraries/ganalytics/src/sys_win32.cpp
@@ -12,8 +12,8 @@ QString Sys::getSystemInfo()
else
{
// We support only Windows NT (XP and up) - everything else is not interesting.
- OSVERSIONINFO osvi;
- ZeroMemory(&osvi, sizeof(OSVERSIONINFO));
+ OSVERSIONINFOW osvi;
+ ZeroMemory(&osvi, sizeof(OSVERSIONINFOW));
GetVersionExW(&osvi);
QString os = QString("Windows NT %1.%2").arg(osvi.dwMajorVersion).arg(osvi.dwMinorVersion);