From 689fc5c596d92fc7afaab128a1a9890ad9268fdf Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Mon, 29 Aug 2011 15:30:18 +0200 Subject: [PATCH] Silent compiler warning with MinGW64. --- src/scp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scp.c b/src/scp.c index 71953fa..649c2a6 100644 --- a/src/scp.c +++ b/src/scp.c @@ -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); }