[poppler] [PATCH/poppler-0.22] splash/Splash.cc: add cast to fix build for --enable-fixedpoint

Albert Astals Cid aacid at kde.org
Mon May 13 10:29:19 PDT 2013


El Dilluns, 13 de maig de 2013, a les 16:20:17, Andreas Müller va escriure:
> On Sun, May 12, 2013 at 11:31 PM, Albert Astals Cid <aacid at kde.org> wrote:
> >> Does casting to guchar fix the 'ambiguous' error?
> > 
> > Haven't tried, does it?
> 
> As I expected (shape is of type Guchar) does casting to Guchar crash
> with same error . Compiler needs a hint which cast operator to use -
> best fit is int.

You are right.

I will actually commit double instead of int since it resembles more closely 
what the non fixed point codepath does (even if the result at the end is the 
same).

Cheers,
  Albert

> 
> Andreas
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler


More information about the poppler mailing list