diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-10-13 19:14:39 +0200 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2019-10-13 22:10:12 +0200 |
commit | a626fa128cff4a3ac7dd4097328a6d38e659c025 (patch) | |
tree | f1add711d4764136ee194f5ebf73f9a8336a504a /docs/examples/imap-tls.c | |
parent | be16d8d9942afd23d9cad1fc5e80b0e90535cfff (diff) |
security: silence conversion warning
With MinGW-w64, `curl_socket_t` is is a 32 or 64 bit unsigned integer,
while `read` expects a 32 bit signed integer.
Use `sread` instead of `read` to use the correct parameter type.
Closes https://github.com/curl/curl/pull/4483
Diffstat (limited to 'docs/examples/imap-tls.c')
0 files changed, 0 insertions, 0 deletions