summaryrefslogtreecommitdiff
path: root/splash
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2013-05-13 19:28:40 +0200
committerAlbert Astals Cid <aacid@kde.org>2013-05-13 19:28:40 +0200
commit73d09cd55f3bd307450c2dd095e039ea39c69cea (patch)
treecfd62b4fdc51bfd8ded88441f1d58b2a5dc182d6 /splash
parentb3e44fc59a9258ad701bc67132dea0646fd8b61a (diff)
Fix compilation with fixed point mode enabled
Thanks to Andreas Müller for the tip
Diffstat (limited to 'splash')
-rw-r--r--splash/Splash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/splash/Splash.cc b/splash/Splash.cc
index cd0ec72f..0a2b2121 100644
--- a/splash/Splash.cc
+++ b/splash/Splash.cc
@@ -1494,7 +1494,7 @@ inline void Splash::drawAALine(SplashPipe *pipe, int x0, int x1, int y) {
#endif
if (t != 0) {
- pipe->shape = aaGamma[t];
+ pipe->shape = (double)aaGamma[t];
(this->*pipe->run)(pipe);
updateModX(x);
updateModY(y);