[libchamplain] Fix warning



commit 3fd656c0c203c12e5ae823f175087b4a07c35427
Author: JiÅ?í Techet <techet gmail com>
Date:   Fri Aug 20 01:11:25 2010 +0200

    Fix warning
    
    Signed-off-by: JiÅ?í Techet <techet gmail com>

 champlain/champlain-file-cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/champlain/champlain-file-cache.c b/champlain/champlain-file-cache.c
index 70b5910..23cd707 100644
--- a/champlain/champlain-file-cache.c
+++ b/champlain/champlain-file-cache.c
@@ -979,7 +979,7 @@ champlain_file_cache_purge (ChamplainFileCache *file_cache)
       const char *filename;
       guint size;
 
-      filename = sqlite3_column_text (stmt, 0);
+      filename = (const char *) sqlite3_column_text (stmt, 0);
       size = sqlite3_column_int (stmt, 1);
       highest_popularity = sqlite3_column_int (stmt, 2);
       DEBUG ("Deleting %s of size %d", filename, size);



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