Commit cfd62425 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Address new GCC warning instance

parent 238b0b7c
Pipeline #2985 passed with stage
in 11 minutes and 21 seconds
......@@ -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);
......
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