mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[mime] cast to char *
This commit is contained in:
parent
89340c3848
commit
b0c64563c2
@ -174,7 +174,7 @@ init_mimetypes_map(void)
|
|||||||
|
|
||||||
/* Determine the path */
|
/* Determine the path */
|
||||||
path = get_mimetypes_path();
|
path = get_mimetypes_path();
|
||||||
if (!path || !*path) path = DEFAULT_MIMETYPES_PATH;
|
if (!path || !*path) path = (char *)DEFAULT_MIMETYPES_PATH;
|
||||||
|
|
||||||
while (*path) {
|
while (*path) {
|
||||||
char *filename = get_next_path_filename(&path, ':');
|
char *filename = get_next_path_filename(&path, ':');
|
||||||
|
Loading…
Reference in New Issue
Block a user