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:
parent
44e2995c87
commit
d2d519f5d1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user