Mercurial > MadButterfly
diff src/shape_stext.c @ 420:485c563514f4
Casting pointer to cease warning messages.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 26 Jul 2009 22:13:36 +0800 |
parents | 7c921fda21be |
children | 1e48453bb282 |
line wrap: on
line diff
--- a/src/shape_stext.c Sun Jul 26 22:13:36 2009 +0800 +++ b/src/shape_stext.c Sun Jul 26 22:13:36 2009 +0800 @@ -564,7 +564,7 @@ scaled = make_scaled_font_face_matrix(face, matrix); CU_ASSERT(scaled != NULL); - status = cairo_scaled_font_status(scaled); + status = cairo_scaled_font_status((cairo_scaled_font_t *)scaled); CU_ASSERT(status == CAIRO_STATUS_SUCCESS); scaled_font_free(scaled);