From 472b07f8abcb7f10991296fb6142fb2432124c03 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 16 Oct 2007 18:54:58 +0200 Subject: [PATCH] remove useless cast --- draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draw.c b/draw.c index 5faa421d3..91c843757 100644 --- a/draw.c +++ b/draw.c @@ -43,7 +43,7 @@ drawtext(Display *disp, int screen, int x, int y, int w, int h, Drawable drawabl surface = cairo_xlib_surface_create(disp, drawable, DefaultVisual(disp, screen), dw, dh); cr = cairo_create(surface); - font_face = (cairo_font_face_t *)cairo_ft_font_face_create_for_pattern(font->pattern); + font_face = cairo_ft_font_face_create_for_pattern(font->pattern); cairo_set_font_face(cr, font_face); cairo_set_font_size(cr, font->height); cairo_set_source_rgb(cr, color[ColFG].red / 65535.0, color[ColFG].green / 65535.0, color[ColFG].blue / 65535.0);