mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 23:33:57 +01:00
Remove useless cast
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
821dc79117
commit
eb5c7079d2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user