diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-11-27 21:07:14 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-11-27 21:07:14 +0000 |
| commit | a914f39b72a6f9b014877a53430b631eba09a228 (patch) | |
| tree | e8b152ea29e1edc7e8acef1d70087ac3f4dea79f /lib/libfetch | |
| parent | 9919d4360cd02ae512628c73ba1c00238e7dd836 (diff) | |
Notes
Diffstat (limited to 'lib/libfetch')
| -rw-r--r-- | lib/libfetch/ftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libfetch/ftp.c b/lib/libfetch/ftp.c index f56459270e60..13a2cec77e0d 100644 --- a/lib/libfetch/ftp.c +++ b/lib/libfetch/ftp.c @@ -66,7 +66,6 @@ __FBSDID("$FreeBSD$"); #include <fcntl.h> #include <netdb.h> #include <stdarg.h> -#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -682,7 +681,8 @@ _ftp_transfer(conn_t *conn, const char *oper, const char *file, /* seek to required offset */ if (offset) - if (_ftp_cmd(conn, "REST %ju", (uintmax_t)offset) != FTP_FILE_OK) + if (_ftp_cmd(conn, "REST %llu", + (unsigned long long)offset) != FTP_FILE_OK) goto sysouch; /* make the server initiate the transfer */ |
