summaryrefslogtreecommitdiff
path: root/editors/gedit/patches/patch-ab
blob: ea5be9135296c4a63c763a78619bed00437ecf8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.7 2009/10/21 18:04:55 drochner Exp $

--- gedit/gedit-metadata-manager.c.orig	2009-09-20 19:43:50.000000000 +0200
+++ gedit/gedit-metadata-manager.c
@@ -452,7 +452,7 @@ save_item (const gchar *key, const gpoin
 	gedit_debug_message (DEBUG_METADATA, "uri: %s", key);
 #endif	
 
-	atime = g_strdup_printf ("%ld", item->atime);
+	atime = g_strdup_printf ("%lld", (long long)(item->atime));
 	xmlSetProp (xml_node, (const xmlChar *)"atime", (const xmlChar *)atime);	
 
 #ifdef GEDIT_METADATA_VERBOSE_DEBUG