summaryrefslogtreecommitdiff
path: root/net/gtk-gnutella/patches/patch-ad
blob: 7551f27a636be97209e3f9fee414ec645f9f7cb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-ad,v 1.2 2002/11/26 21:44:49 cjep Exp $
--- src/fileinfo.c	2002/10/17 19:52:41	1.1
+++ src/fileinfo.c	2002/10/26 01:09:28
@@ -1797,7 +1797,7 @@
 	if (stat(fi_tmp, &st) != -1) {
 		g_warning("file_info_get(): "
 			"assuming file \"%s\" is complete up to %lu bytes",
-			fi->file_name, st.st_size);
+			fi->file_name, (unsigned long)st.st_size);
 		fc = g_malloc0(sizeof(struct dl_file_chunk));
 		fc->from = 0;
 		fi->size = fc->to = st.st_size;