remove signed/unsigned warning
This commit is contained in:
@ -1848,7 +1848,7 @@ bool StreamCore::checkShouldPrint(ProtocolResult newErrorType)
|
|||||||
time(&lastErrorTime);
|
time(&lastErrorTime);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (time(NULL) - lastErrorTime > streamErrorDeadTime) {
|
else if ((int)(time(NULL) - lastErrorTime) > streamErrorDeadTime) {
|
||||||
time(&lastErrorTime);
|
time(&lastErrorTime);
|
||||||
if (numberOfErrors != 0) {
|
if (numberOfErrors != 0) {
|
||||||
error("%s: %i additional errors of the following type seen in the last %i seconds\n",
|
error("%s: %i additional errors of the following type seen in the last %i seconds\n",
|
||||||
|
Reference in New Issue
Block a user