Commit 21753d48 by Linquize

Fix warning in src/win32/version.h

parent 6700cb99
...@@ -18,7 +18,7 @@ GIT_INLINE(int) git_has_win32_version(int major, int minor, int service_pack) ...@@ -18,7 +18,7 @@ GIT_INLINE(int) git_has_win32_version(int major, int minor, int service_pack)
version_test.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX); version_test.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
version_test.dwMajorVersion = major; version_test.dwMajorVersion = major;
version_test.dwMinorVersion = minor; version_test.dwMinorVersion = minor;
version_test.wServicePackMajor = service_pack; version_test.wServicePackMajor = (WORD)service_pack;
version_test.wServicePackMinor = 0; version_test.wServicePackMinor = 0;
version_test_mask = (VER_MAJORVERSION | VER_MINORVERSION | VER_SERVICEPACKMAJOR | VER_SERVICEPACKMINOR); version_test_mask = (VER_MAJORVERSION | VER_MINORVERSION | VER_SERVICEPACKMAJOR | VER_SERVICEPACKMINOR);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment