mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[mailcap] explicit cast to char *
This commit is contained in:
parent
8b2ab12dc1
commit
95bd39ff72
@ -408,7 +408,7 @@ init_mailcap_map(void)
|
||||
/* Try to setup mailcap_path */
|
||||
path = get_mailcap_path();
|
||||
if (!path || !*path) path = getenv("MAILCAP");
|
||||
if (!path) path = DEFAULT_MAILCAP_PATH;
|
||||
if (!path) path = (char *)DEFAULT_MAILCAP_PATH;
|
||||
|
||||
while (*path) {
|
||||
char *filename = get_next_path_filename(&path, ':');
|
||||
|
Loading…
Reference in New Issue
Block a user