[cairo-commit] src/cairo-win32-surface.c util/cairo-script

Chris Wilson ickle at kemper.freedesktop.org
Sat Jul 18 08:18:29 PDT 2009


 src/cairo-win32-surface.c                |    1 +
 util/cairo-script/cairo-script-private.h |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit aac256b2692d15fc21abcdc9c1b9e5fd35f63f66
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sat Jul 18 16:15:47 2009 +0100

    Compile fixes for mingw32.
    
    Trivial typos found whilst using a cross-compiler.

diff --git a/src/cairo-win32-surface.c b/src/cairo-win32-surface.c
index 6b48dba..5bbc8f8 100644
--- a/src/cairo-win32-surface.c
+++ b/src/cairo-win32-surface.c
@@ -51,6 +51,7 @@
 #include "cairo-paginated-private.h"
 #include "cairo-win32-private.h"
 #include "cairo-scaled-font-subsets-private.h"
+#include "cairo-surface-fallback-private.h"
 
 #include <windows.h>
 
diff --git a/util/cairo-script/cairo-script-private.h b/util/cairo-script/cairo-script-private.h
index 504218d..996b40d 100644
--- a/util/cairo-script/cairo-script-private.h
+++ b/util/cairo-script/cairo-script-private.h
@@ -83,14 +83,14 @@
 #ifndef bswap_16
 # define bswap_16(p) \
 	(((((uint16_t)(p)) & 0x00ff) << 8) | \
-	  (((uint16_t)(p))           >> 8));
+	  (((uint16_t)(p))           >> 8))
 #endif
 #ifndef bswap_32
 # define bswap_32(p) \
          (((((uint32_t)(p)) & 0x000000ff) << 24) | \
 	  ((((uint32_t)(p)) & 0x0000ff00) << 8)  | \
 	  ((((uint32_t)(p)) & 0x00ff0000) >> 8)  | \
-	  ((((uint32_t)(p)))              >> 24));
+	  ((((uint32_t)(p)))              >> 24))
 #endif
 
 


More information about the cairo-commit mailing list