1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[menu] cast to char *

This commit is contained in:
Witold Filipczyk 2022-02-18 14:54:32 +01:00
parent 44e2995c87
commit d2d519f5d1

View File

@ -1078,7 +1078,7 @@ auto_complete_file(struct terminal *term, int no_elevator, char *path,
if (get_cmd_opt_bool("anonymous"))
return;
if (!*path) path = "./";
if (!*path) path = (char *)"./";
/* Use the URI translation to handle ./ and ../ and ~/ expansion */
uri = get_translated_uri(path, term->cwd);