[cairo-commit] cairomm/cairomm win32_surface.cc,1.5,1.6

Jonathon Jongsma commit at pdx.freedesktop.org
Mon Aug 21 07:04:30 PDT 2006


Committed by: jjongsma

Update of /cvs/cairo/cairomm/cairomm
In directory kemper:/tmp/cvs-serv10766/cairomm

Modified Files:
	win32_surface.cc 
Log Message:
2006-08-21  Cedric Gustin  <cedric.gustin at gmail.com>

	* cairomm/win32_surface.cc: Explicitly cast Cairo::Format to
	cairo_format_t.


Index: win32_surface.cc
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/win32_surface.cc,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- win32_surface.cc	19 Aug 2006 02:17:02 -0000	1.5
+++ win32_surface.cc	21 Aug 2006 14:04:28 -0000	1.6
@@ -47,7 +47,7 @@
 
 RefPtr<Win32Surface> 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<Win32Surface>(new Win32Surface(cobject, true /* has reference */));
 }



More information about the cairo-commit mailing list