64
authorChristian Grothoff <christian@grothoff.org>
Fri, 17 Jul 2009 23:13:35 +0000 (23:13 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 17 Jul 2009 23:13:35 +0000 (23:13 +0000)
src/datastore/plugin_datastore_sqlite.c

index 27a349be0bf09521e79f40d5915b396ceb5c6bbe..e4a41c899c50bd14d4fc25016cfa07fd0db362f1 100644 (file)
@@ -693,7 +693,7 @@ sqlite_plugin_put (void *cls,
       (SQLITE_OK != sqlite3_bind_int (stmt, 2, type)) ||
       (SQLITE_OK != sqlite3_bind_int (stmt, 3, priority)) ||
       (SQLITE_OK != sqlite3_bind_int (stmt, 4, anonymity)) ||
-      (SQLITE_OK != sqlite3_bind_int64 (stmt, 5, expiration.value)) ||
+      (SQLITE_OK != sqlite3_bind_int64 (stmt, 5, (sqlite3_int64) expiration.value)) ||
       (SQLITE_OK !=
        sqlite3_bind_blob (stmt, 6, key, sizeof (GNUNET_HashCode),
                           SQLITE_TRANSIENT)) ||