Commit 52e68a78 authored by Alexandre Julliard's avatar Alexandre Julliard

secur32: Avoid ssize_t type that causes printf format warnings.

parent 433b7c04
...@@ -402,7 +402,7 @@ SECURITY_STATUS schan_imp_send(schan_imp_session session, const void *buffer, ...@@ -402,7 +402,7 @@ SECURITY_STATUS schan_imp_send(schan_imp_session session, const void *buffer,
SIZE_T *length) SIZE_T *length)
{ {
gnutls_session_t s = (gnutls_session_t)session; gnutls_session_t s = (gnutls_session_t)session;
ssize_t ret, total = 0; SSIZE_T ret, total = 0;
for (;;) for (;;)
{ {
...@@ -410,7 +410,7 @@ SECURITY_STATUS schan_imp_send(schan_imp_session session, const void *buffer, ...@@ -410,7 +410,7 @@ SECURITY_STATUS schan_imp_send(schan_imp_session session, const void *buffer,
if (ret >= 0) if (ret >= 0)
{ {
total += ret; total += ret;
TRACE( "sent %d now %d/%ld\n", ret, total, *length ); TRACE( "sent %ld now %ld/%ld\n", ret, total, *length );
if (total == *length) return SEC_E_OK; if (total == *length) return SEC_E_OK;
} }
else if (ret == GNUTLS_E_AGAIN) else if (ret == GNUTLS_E_AGAIN)
......
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