openbsd-ports/x11/gnome/gedit/patches/patch-gedit_gedit-metadata-manager_c
2012-03-29 07:06:36 +00:00

17 lines
736 B
Plaintext

$OpenBSD: patch-gedit_gedit-metadata-manager_c,v 1.4 2012/03/29 07:06:36 ajacoutot Exp $
gedit-2.28.0.log:gedit-metadata-manager.c: In function `save_item':
gedit-2.28.0.log:gedit-metadata-manager.c:455: warning: long int format, different type arg (arg 2)
--- gedit/gedit-metadata-manager.c.orig Fri Feb 10 18:30:30 2012
+++ gedit/gedit-metadata-manager.c Wed Mar 28 13:08:39 2012
@@ -477,7 +477,7 @@ save_item (const gchar *key, const gpointer *data, xml
gedit_debug_message (DEBUG_METADATA, "uri: %s", key);
#endif
- atime = g_strdup_printf ("%ld", item->atime);
+ atime = g_strdup_printf ("%d", item->atime);
xmlSetProp (xml_node, (const xmlChar *)"atime", (const xmlChar *)atime);
#ifdef GEDIT_METADATA_VERBOSE_DEBUG