summaryrefslogtreecommitdiff
path: root/net/gtk-gnutella/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'net/gtk-gnutella/patches/patch-ad')
-rw-r--r--net/gtk-gnutella/patches/patch-ad11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/gtk-gnutella/patches/patch-ad b/net/gtk-gnutella/patches/patch-ad
new file mode 100644
index 00000000000..5084e3ce2ee
--- /dev/null
+++ b/net/gtk-gnutella/patches/patch-ad
@@ -0,0 +1,11 @@
+--- 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;