diff options
author | joerg <joerg@pkgsrc.org> | 2008-04-17 08:35:20 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-04-17 08:35:20 +0000 |
commit | c35c56dfb2c2457cc0b71e95a51aeb6c5d00b16e (patch) | |
tree | 3044cae1936f1653d755b421908dffb80187daa1 /net/libfetch | |
parent | b9495db99b97edb24e462e3d2ea4b6f86be02f30 (diff) | |
download | pkgsrc-c35c56dfb2c2457cc0b71e95a51aeb6c5d00b16e.tar.gz |
Avoid using %ju as it is not implemented on all platforms.
Diffstat (limited to 'net/libfetch')
-rw-r--r-- | net/libfetch/files/ftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/libfetch/files/ftp.c b/net/libfetch/files/ftp.c index a9972a2c569..b62b184d4b5 100644 --- a/net/libfetch/files/ftp.c +++ b/net/libfetch/files/ftp.c @@ -1,4 +1,4 @@ -/* $NetBSD: ftp.c,v 1.15 2008/04/16 01:01:50 joerg Exp $ */ +/* $NetBSD: ftp.c,v 1.16 2008/04/17 08:35:20 joerg Exp $ */ /*- * Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav * All rights reserved. @@ -859,7 +859,7 @@ ftp_transfer(conn_t *conn, const char *oper, const char *file, const char *op_ar /* 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 */ |