Commit 8c245cd2 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Remove useless cast

parent 67ef89b6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment