Skip to content
Snippets Groups Projects
Commit f78d5395 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Add typecast to elminate GCC warning

parent ca0d64e4
No related branches found
No related tags found
No related merge requests found
Pipeline #8687 failed
......@@ -5214,7 +5214,7 @@ ulong export_echomail(const char* sub_code, const nodecfg_t* nodecfg, bool resca
strcat(fmsgbuf, tear_line('-'));
}
if (stricmp(charset, FIDO_CHARSET_ASCII) == 0)
ascii_str(originline);
ascii_str((uchar *)originline);
else if (stricmp(charset, FIDO_CHARSET_UTF8) == 0) {
char tmp[sizeof originline];
if (cp437_to_utf8_str(originline, tmp, sizeof tmp, /* min-char-val: */ '\x80') > 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment