Author: spouliot
Date: 2007-06-21 09:05:21 -0400 (Thu, 21 Jun 2007)
New Revision: 80462

Modified:
   trunk/libgdiplus/tests/ChangeLog
   trunk/libgdiplus/tests/testbits.c
   trunk/libgdiplus/tests/testgdi.c
Log:
2007-06-21  Sebastien Pouliot  <[EMAIL PROTECTED]> 

        * testbits.c, testgdi.c: Fix #81845 to allow using with C++ compilers 
        and -Werror. Patch by Yves Bastide.



Modified: trunk/libgdiplus/tests/ChangeLog
===================================================================
--- trunk/libgdiplus/tests/ChangeLog    2007-06-21 13:03:59 UTC (rev 80461)
+++ trunk/libgdiplus/tests/ChangeLog    2007-06-21 13:05:21 UTC (rev 80462)
@@ -1,3 +1,8 @@
+2007-06-21  Sebastien Pouliot  <[EMAIL PROTECTED]> 
+
+       * testbits.c, testgdi.c: Fix #81845 to allow using with C++ compilers 
+       and -Werror. Patch by Yves Bastide.
+
 2007-06-21 Sebastien Pouliot  <[EMAIL PROTECTED]>
 
        * testbits.cs: Fix Rgb|Argb definitions. Patch by Yves Bastide.

Modified: trunk/libgdiplus/tests/testbits.c
===================================================================
--- trunk/libgdiplus/tests/testbits.c   2007-06-21 13:03:59 UTC (rev 80461)
+++ trunk/libgdiplus/tests/testbits.c   2007-06-21 13:05:21 UTC (rev 80462)
@@ -54,7 +54,7 @@
         lptr = (unsigned long *) d.Scan0 + j * d.Stride;
         printf ("%d: ", j);
         for (i = 0; i < 5; i++) {
-            printf ("%08x ", *lptr++);
+            printf ("%08lx ", *lptr++);
         }
         printf ("\n");
     }
@@ -79,7 +79,7 @@
     for (j = 0; j < 5; j++) {
         printf ("%d: ", j);
         for (i = 0; i < 5; i++) {
-            printf ("%08x ", *lptr++);
+            printf ("%08lx ", *lptr++);
         }
         printf ("\n");
     }

Modified: trunk/libgdiplus/tests/testgdi.c
===================================================================
--- trunk/libgdiplus/tests/testgdi.c    2007-06-21 13:03:59 UTC (rev 80461)
+++ trunk/libgdiplus/tests/testgdi.c    2007-06-21 13:05:21 UTC (rev 80462)
@@ -18,6 +18,7 @@
 #include "GdiPlusFlat.h"
 #include <X11/Xlib.h>
 #include <cairo.h>
+#include <cairo-xlib.h>
 
 typedef struct win {
        Display *dpy;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to