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

Address new GCC warning instance

parent 238b0b7c
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2985 passed
......@@ -4207,7 +4207,7 @@ void sbbs_t::catsyslog(int crash)
free((char *)buf);
return;
}
if(fwrite(buf, sizeof(uint8_t), length, fp) !=length) {
if(fwrite(buf, sizeof(uint8_t), length, fp) != (size_t)length) {
fcloselog(fp);
errormsg(WHERE,ERR_WRITE,str,length);
free((char *)buf);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment