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

[download] explicit cast to (char *) instead of macro

This commit is contained in:
Witold Filipczyk 2022-03-04 20:59:46 +01:00
parent b921db70ba
commit 61dab79139

View File

@ -1024,7 +1024,7 @@ subst_file(char *prog, char *file, char *uri)
* data from stdin instead of a file. */
int input = 1;
char *replace;
char *original = C_("% ");
char *original = (char *)("% ");
int truncate;
int tlen = 40;
@ -1049,7 +1049,7 @@ subst_file(char *prog, char *file, char *uri)
truncate = 1;
}
else if (*prog == '%')
replace = C_("%");
replace = (char *)("%");
else {
original[1] = *prog;
replace = original;