[cairo-commit] cairo-ocaml/src ml_cairo_font.c,1.3,1.4

Olivier Andrieu commit at pdx.freedesktop.org
Mon Apr 23 15:35:34 PDT 2007


Committed by: oandrieu

Update of /cvs/cairo/cairo-ocaml/src
In directory kemper:/tmp/cvs-serv12855/src

Modified Files:
	ml_cairo_font.c 
Log Message:
2007-09-23  Olivier Andrieu  <oandrieu at gmail.com>

	* src/ml_cairo_font.c: compile fix for some archs
	(from Samuel Mimram)


Index: ml_cairo_font.c
===================================================================
RCS file: /cvs/cairo/cairo-ocaml/src/ml_cairo_font.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ml_cairo_font.c	8 Nov 2006 23:42:34 -0000	1.3
+++ ml_cairo_font.c	23 Apr 2007 22:35:24 -0000	1.4
@@ -137,7 +137,7 @@
 #else
   cairo_matrix_t c_m;
   cairo_scaled_font_get_font_matrix (cairo_scaled_font_t_val (sf), &c_m);
-  m = ml_convert_cairo_matrix_out (c_m);
+  m = ml_convert_cairo_matrix_out (&c_m);
 #endif
   cairo_treat_status (cairo_scaled_font_status (cairo_scaled_font_t_val (sf)));
   CAMLreturn(m);
@@ -155,7 +155,7 @@
 #else
   cairo_matrix_t c_m;
   cairo_scaled_font_get_ctm (cairo_scaled_font_t_val (sf), &c_m);
-  m = ml_convert_cairo_matrix_out (c_m);
+  m = ml_convert_cairo_matrix_out (&c_m);
 #endif
   cairo_treat_status (cairo_scaled_font_status (cairo_scaled_font_t_val (sf)));
   CAMLreturn(m);



More information about the cairo-commit mailing list