From 8c245cd254897085e7de18fa9d38fe9286710265 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sun, 4 Mar 2018 15:43:58 +0100 Subject: [PATCH] Remove useless cast --- zathura/database-sqlite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zathura/database-sqlite.c b/zathura/database-sqlite.c index 535c6d6..02ff490 100644 --- a/zathura/database-sqlite.c +++ b/zathura/database-sqlite.c @@ -746,7 +746,7 @@ sqlite_io_read(GiraraInputHistoryIO* db) return NULL; } - girara_list_t* list = girara_list_new2((girara_free_function_t) g_free); + girara_list_t* list = girara_list_new2(g_free); if (list == NULL) { sqlite3_finalize(stmt); return NULL; @@ -791,7 +791,7 @@ sqlite_get_recent_files(zathura_database_t* db, int max, const char* basepath) return false; } - girara_list_t* list = girara_list_new2((girara_free_function_t) g_free); + girara_list_t* list = girara_list_new2(g_free); if (list == NULL) { sqlite3_finalize(stmt); return NULL;