mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:21:41 +03:00
windows: use native error code types more
- curlx_get_winapi_error: accept DWORD (was: int), move casts one level up the callstack. - sspi: bump some types to `SECURITY_STATUS` (int -> LONG). - digest_sspi: drop unnecessary cast. Closes #18868
This commit is contained in:
parent
e7a5184fa1
commit
e9ababe9aa
8 changed files with 30 additions and 34 deletions
|
|
@ -25,7 +25,7 @@
|
|||
***************************************************************************/
|
||||
|
||||
#ifdef USE_WINDOWS_SSPI
|
||||
const char *Curl_sspi_strerror(int err, char *buf, size_t buflen);
|
||||
const char *Curl_sspi_strerror(SECURITY_STATUS err, char *buf, size_t buflen);
|
||||
#endif
|
||||
|
||||
#endif /* HEADER_CURL_STRERROR_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue