[nautilus] Another missed FreeBSD build fix.



commit ffc93d52d4650e63e01b488ef582983919c89de3
Author: A. Walton <awalton gnome org>
Date:   Mon Jun 22 09:00:44 2009 -0400

    Another missed FreeBSD build fix.

 libnautilus-private/nautilus-metafile.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-metafile.c b/libnautilus-private/nautilus-metafile.c
index b35fc9a..6fa8c14 100644
--- a/libnautilus-private/nautilus-metafile.c
+++ b/libnautilus-private/nautilus-metafile.c
@@ -884,7 +884,7 @@ set_file_node_timestamp (xmlNode *node)
 	char time_str[21];
 
 	/* 2^64 turns out to be 20 characters */
-	snprintf (time_str, 20, "%ld", time (NULL));
+	g_snprintf (time_str, 20, "%ld", (long int)time (NULL));
 	time_str [20] = '\0';
 	xmlSetProp (node, "timestamp", time_str);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]