diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/ganalytics/src/sys_win32.cpp | 4 |
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); |