1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-11 12:05:06 -05:00

fix compiler warning: conversion to 'size_t' from 'curl_off_t' may alter its value

This commit is contained in:
Yang Tse 2009-09-17 15:06:34 +00:00
parent f2f45339dc
commit d006efebc0

View File

@ -455,7 +455,7 @@ static int sshkeycallback(CURL *easy,
#ifdef HAVE_LIBSSH2_SFTP_SEEK64 #ifdef HAVE_LIBSSH2_SFTP_SEEK64
#define SFTP_SEEK(x,y) libssh2_sftp_seek64(x, (libssh2_uint64_t)y) #define SFTP_SEEK(x,y) libssh2_sftp_seek64(x, (libssh2_uint64_t)y)
#else #else
#define SFTP_SEEK(x,y) libssh2_sftp_seek(x, y) #define SFTP_SEEK(x,y) libssh2_sftp_seek(x, (size_t)y)
#endif #endif
/* /*