pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libfetch/files Avoid using %ju as it is not implem...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6b2cb3e9a55a
branches: trunk
changeset: 541235:6b2cb3e9a55a
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Apr 17 08:35:20 2008 +0000
description:
Avoid using %ju as it is not implemented on all platforms.
diffstat:
net/libfetch/files/ftp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 8da1dd09a00c -r 6b2cb3e9a55a net/libfetch/files/ftp.c
--- a/net/libfetch/files/ftp.c Thu Apr 17 08:11:12 2008 +0000
+++ b/net/libfetch/files/ftp.c Thu Apr 17 08:35:20 2008 +0000
@@ -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 @@
/* 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 */
Home |
Main Index |
Thread Index |
Old Index