if ((!e->conf->governor) || strcmp(e->status->cur_governor, e->conf->governor))
{
if (e->conf->governor) evas_stringshare_del(e->conf->governor);
- e->conf->governor = evas_stringshare_add(e->status->cur_governor);
+ e->conf->governor = (char *)evas_stringshare_add(e->status->cur_governor);
}
e_config_save_queue();
}
{
_cpufreq_set_governor(e, governor);
if (e->conf->governor) evas_stringshare_del(e->conf->governor);
- e->conf->governor = evas_stringshare_add(governor);
+ e->conf->governor = (char *)evas_stringshare_add(governor);
}
e_config_save_queue();
}
if (!ib->conf)
{
ib->conf = E_NEW(Config, 1);
- ib->conf->appdir = evas_stringshare_add("bar");
+ ib->conf->appdir = (char *)evas_stringshare_add("bar");
ib->conf->follower = 1;
ib->conf->follow_speed = 0.9;
ib->conf->autoscroll_speed = 0.95;