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

Address gcc warning: comparison of integer expressions of different signedness

parent 7299e000
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -375,7 +375,7 @@ void sbbs_t::qwktonetmail(FILE *rep, char *block, char *into, uchar fromhub)
return;
}
memcpy((char *)qwkbuf,block,QWK_BLOCK_LEN);
if(fread(qwkbuf+QWK_BLOCK_LEN, QWK_BLOCK_LEN, n-1, rep) != n-1) {
if(fread(qwkbuf+QWK_BLOCK_LEN, QWK_BLOCK_LEN, n-1, rep) != (size_t)n-1) {
errormsg(WHERE, ERR_READ, "QWK block", n-1);
return;
}
......
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