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 <[email protected]> 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 > [email protected] > http://lists.freedesktop.org/mailman/listinfo/poppler _______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
