1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-27 02:56:18 -04:00

[mailcap] explicit cast to char *

This commit is contained in:
Witold Filipczyk 2022-02-21 16:30:42 +01:00
parent 8b2ab12dc1
commit 95bd39ff72

View File

@ -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, ':');