aboutsummaryrefslogtreecommitdiff
path: root/jobs/basejob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/basejob.cpp')
-rw-r--r--jobs/basejob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/basejob.cpp b/jobs/basejob.cpp
index dddff800..f508026f 100644
--- a/jobs/basejob.cpp
+++ b/jobs/basejob.cpp
@@ -392,12 +392,12 @@ BaseJob::duration_t BaseJob::millisToRetry() const
return d->retryTimer.isActive() ? d->retryTimer.remainingTime() : 0;
}
-size_t BaseJob::maxRetries() const
+int BaseJob::maxRetries() const
{
return d->maxRetries;
}
-void BaseJob::setMaxRetries(size_t newMaxRetries)
+void BaseJob::setMaxRetries(int newMaxRetries)
{
d->maxRetries = newMaxRetries;
}