mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-01 05:36:00 +01:00
Remove useless cast
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
821dc79117
commit
eb5c7079d2
1 changed files with 2 additions and 2 deletions
|
@ -190,8 +190,8 @@ zathura_plugin_manager_load(zathura_plugin_manager_t* plugin_manager)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
char* name = NULL;
|
const char* name = NULL;
|
||||||
while ((name = (char*) g_dir_read_name(dir)) != NULL) {
|
while ((name = g_dir_read_name(dir)) != NULL) {
|
||||||
load_plugin(plugin_manager, plugindir, name);
|
load_plugin(plugin_manager, plugindir, name);
|
||||||
}
|
}
|
||||||
g_dir_close(dir);
|
g_dir_close(dir);
|
||||||
|
|
Loading…
Reference in a new issue