[f-spot] fix for pictures before 1970



commit b28bec14cc07f070beddf82fa9d018279ce0ba88
Author: Stephane Delcroix <stephane delcroix org>
Date:   Mon Aug 3 14:24:29 2009 +0200

    fix for pictures before 1970

 src/Updater.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Updater.cs b/src/Updater.cs
index 0718577..1b47eb4 100644
--- a/src/Updater.cs
+++ b/src/Updater.cs
@@ -541,7 +541,7 @@ namespace FSpot.Database {
 						"INSERT INTO photos (id, time, base_uri, filename, description, roll_id, default_version_id, rating, md5_sum) "	+
 						"VALUES (:id, :time, :base_uri, :filename, :description, :roll_id, :default_version_id, :rating, :md5_sum)",
 						"id", Convert.ToUInt32 (reader ["id"]),
-						"time", Convert.ToUInt32 (reader ["time"]),
+						"time", Convert.ToInt32 (reader ["time"]),
 						"base_uri", base_uri.ToString (),
 						"filename", filename,
 						"description", reader["description"].ToString (),



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