summaryrefslogtreecommitdiff
path: root/src/textparticle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/textparticle.cpp')
-rw-r--r--src/textparticle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textparticle.cpp b/src/textparticle.cpp
index 178a6a086..85d0d6738 100644
--- a/src/textparticle.cpp
+++ b/src/textparticle.cpp
@@ -71,7 +71,7 @@ bool TextParticle::draw(Graphics *graphics, int offsetX, int offsetY) const
}
gcn::Color color = *mColor;
- color.a = (int)alpha;
+ color.a = static_cast<int>(alpha);
graphics->setColor(color);
if (mOutline)