remove signed/unsigned warning
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user