Commit 7c5ec273 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Fix type

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 2498d5cf
......@@ -56,8 +56,8 @@ list_files(zathura_t* zathura, const char* current_path, const char* current_fil
girara_setting_get(zathura->ui.session, "show-directories", &show_directories);
/* read files */
char* name = NULL;
while ((name = (char*) g_dir_read_name(dir)) != NULL) {
const char* name = NULL;
while ((name = g_dir_read_name(dir)) != NULL) {
char* e_name = g_filename_display_name(name);
if (e_name == NULL) {
goto error_free;
......
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