static void gd_loadimage_gd(GVJ_t * job, usershape_t *us, boxf b, bool filled)
{
- gdImagePtr im2, im = (gdImagePtr) job->context;
+ gdImagePtr im2, im = job->context;
if ((im2 = gd_loadimage(job, us))) {
if (job->rotation)
#ifdef HAVE_PANGOCAIRO
static void gd_loadimage_cairo(GVJ_t * job, usershape_t *us, boxf b, bool filled)
{
- cairo_t *cr = (cairo_t *) job->context; /* target context */
+ cairo_t *cr = job->context; /* target context */
unsigned int x, y, stride, width, height, px;
unsigned char *data;
cairo_surface_t *surface; /* source surface */