Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit c0373038 authored by Rob Swindell's avatar Rob Swindell 💬

Address gcc warning: comparison of integer expressions of different signedness

parent 5771d524
Pipeline #1327 passed with stage
in 19 minutes and 16 seconds
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment