mirror of
https://github.com/curl/curl.git
synced 2026-05-30 11:37:28 +03:00
schannel: Fix compilation warning from commit 7a8e861a56
schannel.c:1125:5: warning: missing initializer for field 'dwMinorVersion'
of 'OSVERSIONINFOEX' [-Wmissing-field-initializers
This commit is contained in:
parent
c8331f515e
commit
a1b2a6bd93
1 changed files with 5 additions and 1 deletions
|
|
@ -1122,7 +1122,11 @@ cleanup:
|
|||
!connssl->recv_sspi_close_notify) {
|
||||
BOOL isWin2k;
|
||||
ULONGLONG cm;
|
||||
OSVERSIONINFOEX osver = { sizeof osver, 5, };
|
||||
OSVERSIONINFOEX osver;
|
||||
|
||||
memset(&osver, 0, sizeof(osver));
|
||||
osver.dwOSVersionInfoSize = sizeof(osver);
|
||||
osver.dwMajorVersion = 5;
|
||||
|
||||
cm = VerSetConditionMask(0, VER_MAJORVERSION, VER_EQUAL);
|
||||
cm = VerSetConditionMask(cm, VER_MINORVERSION, VER_EQUAL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue