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

Fix new (MSVC) warnings

which were result of QWK_NEWLINE redef to make cppcheck happy
parent 4b25afd6
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -246,7 +246,7 @@ int sbbs_t::msgtoqwk(smbmsg_t* msg, FILE *qwk_fp, int mode, smb_t* smb
if(!buf)
return -2;
char qwk_newline = QWK_NEWLINE;
uchar qwk_newline = QWK_NEWLINE;
if(smb_msg_is_utf8(msg) || (msg->hdr.auxattr & MSG_HFIELDS_UTF8)) {
if(mode&QM_UTF8)
qwk_newline = '\n';
......
......@@ -314,7 +314,7 @@ bool sbbs_t::qwk_import_msg(FILE *qwk_fp, char *hdrblk, uint blocks
kludges=strListInit();
char qwk_newline = QWK_NEWLINE;
uchar qwk_newline = QWK_NEWLINE;
if(msg->hdr.auxattr & MSG_HFIELDS_UTF8)
qwk_newline = '\n';
......
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