summaryrefslogtreecommitdiff
path: root/src/gui/widgets/progressindicator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/progressindicator.cpp')
-rw-r--r--src/gui/widgets/progressindicator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/progressindicator.cpp b/src/gui/widgets/progressindicator.cpp
index 358518132..b3f5b0e54 100644
--- a/src/gui/widgets/progressindicator.cpp
+++ b/src/gui/widgets/progressindicator.cpp
@@ -73,7 +73,7 @@ void ProgressIndicator::draw(Graphics *graphics)
// Draw the indicator centered on the widget
const int x = (mDimension.width - 32) / 2;
const int y = (mDimension.height - 32) / 2;
- mIndicator->draw(static_cast<Graphics*>(graphics), x, y);
+ mIndicator->draw(graphics, x, y);
}
BLOCK_END("ProgressIndicator::draw")
}