diff options
Diffstat (limited to 'src/textparticle.h')
-rw-r--r-- | src/textparticle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textparticle.h b/src/textparticle.h index 2ba2132bc..db9dc1766 100644 --- a/src/textparticle.h +++ b/src/textparticle.h @@ -43,7 +43,7 @@ class TextParticle : public Particle // hack to improve text visibility virtual int getPixelY() const - { return (int) (mPos.y + mPos.z); } + { return static_cast<int>(mPos.y + mPos.z); } private: std::string mText; /**< Text of the particle. */ |