diff options
author | Marcel Raad <raad@teamviewer.com> | 2017-04-06 20:04:58 +0200 |
---|---|---|
committer | Marcel Raad <raad@teamviewer.com> | 2017-04-07 08:57:52 +0200 |
commit | 33ca733ee2132ab8518f2316f8e4b5629ecedab7 (patch) | |
tree | 5bd177e77a072a004cee5cdc786df23db7925d84 /src/tool_getparam.h | |
parent | 1f152a42ae9c2985b8a0cedf90d3b63b2e64a898 (diff) |
schannel: fix compiler warnings
When UNICODE is not defined, the Curl_convert_UTF8_to_tchar macro maps
directly to its argument. As it is declared as a pointer to const and
InitializeSecurityContext expects a pointer to non-const, both MSVC and MinGW
issue a warning about implicitly casting away the const. Fix this by declaring
the variables as pointers to non-const.
Closes https://github.com/curl/curl/pull/1394
Diffstat (limited to 'src/tool_getparam.h')
0 files changed, 0 insertions, 0 deletions