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:
parent
f2f45339dc
commit
d006efebc0
@ -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
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user