From d006efebc009faaed7a2635a7abdc0c12306f2c2 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 17 Sep 2009 15:06:34 +0000 Subject: [PATCH] fix compiler warning: conversion to 'size_t' from 'curl_off_t' may alter its value --- lib/ssh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ssh.c b/lib/ssh.c index a6d379f79..dc8ee8b8e 100644 --- a/lib/ssh.c +++ b/lib/ssh.c @@ -455,7 +455,7 @@ static int sshkeycallback(CURL *easy, #ifdef HAVE_LIBSSH2_SFTP_SEEK64 #define SFTP_SEEK(x,y) libssh2_sftp_seek64(x, (libssh2_uint64_t)y) #else -#define SFTP_SEEK(x,y) libssh2_sftp_seek(x, y) +#define SFTP_SEEK(x,y) libssh2_sftp_seek(x, (size_t)y) #endif /*