diff --git a/src/core/modules.c b/src/core/modules.c index 4b7a91ca..8439b73d 100644 --- a/src/core/modules.c +++ b/src/core/modules.c @@ -289,7 +289,7 @@ void modules_deinit(void) while (list != NULL) { module_uniq_destroy(list->data); - gconstpointer tmp = list->data; + void *tmp = list->data; list = g_slist_remove(list, list->data); g_free(tmp); } diff --git a/src/core/rawlog.c b/src/core/rawlog.c index da63fa50..e6bb7017 100644 --- a/src/core/rawlog.c +++ b/src/core/rawlog.c @@ -64,7 +64,7 @@ static void rawlog_add(RAWLOG_REC *rawlog, char *str) if (rawlog->nlines < rawlog_lines || rawlog_lines <= 2) rawlog->nlines++; else { - gconstpointer tmp = rawlog->lines->data; + void *tmp = rawlog->lines->data; rawlog->lines = g_slist_remove(rawlog->lines, rawlog->lines->data); g_free(tmp); diff --git a/src/fe-common/core/themes.c b/src/fe-common/core/themes.c index cb3a7717..a95f6180 100644 --- a/src/fe-common/core/themes.c +++ b/src/fe-common/core/themes.c @@ -1424,7 +1424,7 @@ void themes_reload(void) change_theme(settings_get_str("theme"), FALSE); while (refs != NULL) { - gconstpointer tmp = refs->data; + void *tmp = refs->data; refs = g_slist_remove(refs, refs->data); theme_unref(tmp); }