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 6d4e03b1 authored by rswindell's avatar rswindell

Resolve gcc warning: comparison between signed and unsigned integer

expressions
parent 463b0e5f
......@@ -1104,7 +1104,7 @@ bool sbbs_t::inetmail(const char *into, const char *subj, long mode, smb_t* resm
errormsg(WHERE, ERR_ALLOC, msgpath, length);
return(false);
}
if(fread(msgbuf, sizeof(char), length, instream) != length) {
if(fread(msgbuf, sizeof(char), length, instream) != (size_t)length) {
strListFree(&rcpt_list);
fclose(instream);
free(msgbuf);
......
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