tracker r2819 - in trunk: . src/tracker-indexer
- From: carlosg svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2819 - in trunk: . src/tracker-indexer
- Date: Wed, 21 Jan 2009 16:47:36 +0000 (UTC)
Author: carlosg
Date: Wed Jan 21 16:47:36 2009
New Revision: 2819
URL: http://svn.gnome.org/viewvc/tracker?rev=2819&view=rev
Log:
2009-01-21 Carlos Garnacho <carlos imendio com>
* src/tracker-indexer/tracker-module-metadata.c
(tracker_module_metadata_add_date): Cast time_t to avoid compiler
warnings.
Modified:
trunk/ChangeLog
trunk/src/tracker-indexer/tracker-module-metadata.c
Modified: trunk/src/tracker-indexer/tracker-module-metadata.c
==============================================================================
--- trunk/src/tracker-indexer/tracker-module-metadata.c (original)
+++ trunk/src/tracker-indexer/tracker-module-metadata.c Wed Jan 21 16:47:36 2009
@@ -332,9 +332,9 @@
gchar *str;
if (sizeof (time_t) == 8) {
- str = g_strdup_printf ("%" G_GINT64_FORMAT, value);
+ str = g_strdup_printf ("%" G_GINT64_FORMAT, (gint64) value);
} else {
- str = g_strdup_printf ("%d", value);
+ str = g_strdup_printf ("%d", (gint32) value);
}
if (!tracker_module_metadata_add_take_string (metadata, field_name, str)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]