[poppler] Branch 'poppler-0.22' - splash/Splash.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Mon May 13 10:29:23 PDT 2013


 splash/Splash.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 73d09cd55f3bd307450c2dd095e039ea39c69cea
Author: Albert Astals Cid <aacid at kde.org>
Date:   Mon May 13 19:28:40 2013 +0200

    Fix compilation with fixed point mode enabled
    
    Thanks to Andreas Müller for the tip

diff --git a/splash/Splash.cc b/splash/Splash.cc
index cd0ec72..0a2b212 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);


More information about the poppler mailing list