From 1d9dbaa12411c910eceaa68814bf95cc4cba971d Mon Sep 17 00:00:00 2001 From: Jonathon Jongsma Date: Mon, 21 Aug 2006 14:04:28 +0000 Subject: 2006-08-21 Cedric Gustin * cairomm/win32_surface.cc: Explicitly cast Cairo::Format to cairo_format_t. --- ChangeLog | 5 +++++ cairomm/win32_surface.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fdd4d77..3ba4f25 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-08-21 Cedric Gustin + + * cairomm/win32_surface.cc: Explicitly cast Cairo::Format to + cairo_format_t. + 2006-08-20 Jonathon Jongsma * Makefile.am: fix up the release announcement template to explain what diff --git a/cairomm/win32_surface.cc b/cairomm/win32_surface.cc index cfed17d..e0e3887 100644 --- a/cairomm/win32_surface.cc +++ b/cairomm/win32_surface.cc @@ -47,7 +47,7 @@ RefPtr Win32Surface::create(HDC hdc) RefPtr Win32Surface::create(Format format, int width, int height) { - cairo_surface_t* cobject = cairo_win32_surface_create_with_dib(format, width, height); + cairo_surface_t* cobject = cairo_win32_surface_create_with_dib((cairo_format_t)format, width, height); check_status_and_throw_exception(cairo_surface_status(cobject)); return RefPtr(new Win32Surface(cobject, true /* has reference */)); } -- cgit v1.2.3