From: Yang Tse Date: Thu, 17 Sep 2009 15:06:34 +0000 (+0000) Subject: fix compiler warning: conversion to 'size_t' from 'curl_off_t' may alter its value X-Git-Tag: curl-7_19_7~129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d006efebc009faaed7a2635a7abdc0c12306f2c2;p=thirdparty%2Fcurl.git fix compiler warning: conversion to 'size_t' from 'curl_off_t' may alter its value --- diff --git a/lib/ssh.c b/lib/ssh.c index a6d379f79f..dc8ee8b8ef 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 /*