Skip to content
Snippets Groups Projects
Commit 8db2caa4 authored by rswindell's avatar rswindell
Browse files

Fix warnings from GCC.

parent d96bb5d0
No related branches found
No related tags found
No related merge requests found
......@@ -2498,14 +2498,14 @@ bool normalize_hfield_value(char* str)
if(encoding == 'Q') {
mimehdr_q_decode(tmp);
if(charset == MIMEHDR_CHARSET_UTF8)
normalize_utf8(tmp);
normalize_utf8((uchar*)tmp);
if(charset == MIMEHDR_CHARSET_CP437 || strIsPlainAscii(tmp))
p = tmp;
}
else if(encoding == 'B'
&& b64_decode(tmp, sizeof(tmp), tmp, strlen(tmp)) > 0) { // base64
if(charset == MIMEHDR_CHARSET_UTF8)
normalize_utf8(tmp);
normalize_utf8((uchar*)tmp);
if(charset == MIMEHDR_CHARSET_CP437 || strIsPlainAscii(tmp))
p = tmp;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment