[tracker] libtracker-db: Silence compiler for a no-problem compilation warning
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-db: Silence compiler for a no-problem compilation warning
- Date: Wed, 7 Jul 2010 12:51:58 +0000 (UTC)
commit 026337df9372dc2de5c3d2b30e670e1bb03cdc29
Author: Philip Van Hoof <philip codeminded be>
Date: Wed Jul 7 14:50:11 2010 +0200
libtracker-db: Silence compiler for a no-problem compilation warning
src/libtracker-db/tracker-db-interface-sqlite.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-interface-sqlite.c b/src/libtracker-db/tracker-db-interface-sqlite.c
index b871c1e..1684746 100644
--- a/src/libtracker-db/tracker-db-interface-sqlite.c
+++ b/src/libtracker-db/tracker-db-interface-sqlite.c
@@ -769,7 +769,9 @@ tracker_db_interface_create_statement (TrackerDBInterface *db_interface,
stmt = tracker_db_statement_sqlite_new (db_interface, sqlite_stmt);
- g_hash_table_insert (db_interface->dynamic_statements, sqlite3_sql (sqlite_stmt), stmt);
+ g_hash_table_insert (db_interface->dynamic_statements,
+ (gpointer) sqlite3_sql (sqlite_stmt),
+ stmt);
} else {
tracker_db_statement_sqlite_reset (stmt);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]