Commit cca9bea4 by Vicent Martí

Merge pull request #1831 from linquize/version.h-warning

Fix warning in src/win32/version.h
parents 61d57b7a 21753d48
...@@ -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