$OpenBSD: patch-src_downloads_c,v 1.1 2002/02/28 21:01:31 naddy Exp $
--- src/downloads.c.orig	Thu Feb 28 21:36:14 2002
+++ src/downloads.c	Thu Feb 28 21:37:02 2002
@@ -1562,7 +1562,7 @@ static gboolean download_overlap_check(s
 	 */
 
 	if (d->skip != buf.st_size) {
-		g_warning("File '%s' changed size (now %ld, but was %d)",
+		g_warning("File '%s' changed size (now %lld, but was %d)",
 			d->output_name, buf.st_size, d->skip);
 		download_stop(d, GTA_DL_STOPPED, "Stopped (Output file size changed)");
 		goto out;
@@ -1827,7 +1827,7 @@ static void download_request(struct down
 	if (stat(dl_tmp, &st) != -1) {
 		/* File exists, we'll append the data to it */
 		if (st.st_size != d->skip) {
-			g_warning("File '%s' changed size (now %ld, but was %d)",
+			g_warning("File '%s' changed size (now %lld, but was %d)",
 				d->output_name, st.st_size, d->skip);
 			download_stop(d, GTA_DL_STOPPED,
 				"Stopped (Output file size changed)");
