From 73d09cd55f3bd307450c2dd095e039ea39c69cea Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Mon, 13 May 2013 19:28:40 +0200 Subject: Fix compilation with fixed point mode enabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Andreas Müller for the tip --- splash/Splash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'splash') 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); -- cgit v1.2.3