Commit eb5c7079 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Remove useless cast

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 821dc791
......@@ -190,8 +190,8 @@ zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
continue;
}
char* name = NULL;
while ((name = (char*) g_dir_read_name(dir)) != NULL) {
const char* name = NULL;
while ((name = g_dir_read_name(dir)) != NULL) {
load_plugin(plugin_manager, plugindir, name);
}
g_dir_close(dir);
......
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