summaryrefslogtreecommitdiff
path: root/plugingui/progressbar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/progressbar.cc')
-rw-r--r--plugingui/progressbar.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/progressbar.cc b/plugingui/progressbar.cc
index f934664..8a382f5 100644
--- a/plugingui/progressbar.cc
+++ b/plugingui/progressbar.cc
@@ -78,7 +78,7 @@ void ProgressBar::setState(ProgressBarState state)
}
}
-void ProgressBar::setTotal(int total)
+void ProgressBar::setTotal(std::size_t total)
{
if(this->total != total)
{
@@ -87,7 +87,7 @@ void ProgressBar::setTotal(int total)
}
}
-void ProgressBar::setValue(int value)
+void ProgressBar::setValue(std::size_t value)
{
if(this->value != value)
{