remove signed/unsigned warning

This commit is contained in:
2021-06-14 15:07:47 +02:00
parent 7e42f6fddf
commit 0010b8f23f

View File

@ -1848,7 +1848,7 @@ bool StreamCore::checkShouldPrint(ProtocolResult newErrorType)
time(&lastErrorTime);
return true;
}
else if (time(NULL) - lastErrorTime > streamErrorDeadTime) {
else if ((int)(time(NULL) - lastErrorTime) > streamErrorDeadTime) {
time(&lastErrorTime);
if (numberOfErrors != 0) {
error("%s: %i additional errors of the following type seen in the last %i seconds\n",