Silent compiler warning with MinGW64.

This commit is contained in:
Guenter Knauf 2011-08-29 15:30:18 +02:00
parent 31a9e8860d
commit 689fc5c596

View File

@ -889,7 +889,7 @@ scp_send(LIBSSH2_SESSION * session, const char *path, int mode,
session->scpSend_response_len =
snprintf((char *) session->scpSend_response,
LIBSSH2_SCP_RESPONSE_BUFLEN, "T%ld 0 %ld 0\n",
mtime, atime);
(long)mtime, (long)atime);
_libssh2_debug(session, LIBSSH2_TRACE_SCP, "Sent %s",
session->scpSend_response);
}