diff options
Diffstat (limited to 'src/RequestSlot.cc')
| -rw-r--r-- | src/RequestSlot.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RequestSlot.cc b/src/RequestSlot.cc index 3729f47d..7793999e 100644 --- a/src/RequestSlot.cc +++ b/src/RequestSlot.cc @@ -55,7 +55,7 @@ void RequestSlot::setDispatchedTime() { bool RequestSlot::isTimeout(int timeoutSec) const { struct timeval now; gettimeofday(&now, NULL); - return Util::difftv(now, dispatchedTime) > timeoutSec*1000000; + return Util::difftv(now, dispatchedTime) > ((long long int)timeoutSec)*1000000; } bool RequestSlot::isNull(const RequestSlot& requestSlot) { |
