Compile fixes for mingw32.

Trivial typos found whilst using a cross-compiler.
This commit is contained in:
Chris Wilson 2009-07-18 16:15:47 +01:00
parent 922b01ad14
commit aac256b269
2 changed files with 3 additions and 2 deletions

View file

@ -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>

View file

@ -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