summaryrefslogtreecommitdiffstats
path: root/stream/stream_ftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_ftp.c')
-rw-r--r--stream/stream_ftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/stream_ftp.c b/stream/stream_ftp.c
index 90ccc7b13a..8485e0e969 100644
--- a/stream/stream_ftp.c
+++ b/stream/stream_ftp.c
@@ -260,7 +260,7 @@ static int FtpOpenPort(struct stream_priv_s* p) {
return fd;
}
-static int FtpOpenData(stream_t* s,off_t newpos) {
+static int FtpOpenData(stream_t* s,int64_t newpos) {
struct stream_priv_s* p = s->priv;
int resp;
char str[256],rsp_txt[256];
@@ -308,7 +308,7 @@ static int fill_buffer(stream_t *s, char* buffer, int max_len){
return (r <= 0) ? -1 : r;
}
-static int seek(stream_t *s,off_t newpos) {
+static int seek(stream_t *s,int64_t newpos) {
struct stream_priv_s* p = s->priv;
int resp;
char rsp_txt[256];