summaryrefslogtreecommitdiff
path: root/hw/xwin/winfillsp.c
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-06-21 13:19:32 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-06-21 13:19:32 +0000
commitd6e8b1affec7351549c0006cc63b6923091cdd68 (patch)
tree6e5e9dd1c1ec6e141349337df844b649bbf4277d /hw/xwin/winfillsp.c
parentdfdbb60bf5f613b3554d5435f08f16bde72aa353 (diff)
Bug 777: Merge from CYGWIN branch
Diffstat (limited to 'hw/xwin/winfillsp.c')
-rw-r--r--hw/xwin/winfillsp.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/hw/xwin/winfillsp.c b/hw/xwin/winfillsp.c
index 556fde718..b0633fa7a 100644
--- a/hw/xwin/winfillsp.c
+++ b/hw/xwin/winfillsp.c
@@ -32,6 +32,16 @@
#include "win.h"
+
+/*
+ * References to external symbols
+ */
+
+extern int g_iPixmapPrivateIndex;
+extern int g_iGCPrivateIndex;
+extern int g_copyROP[];
+
+
extern void ROP16(HDC hdc, int rop);
#define TRANSLATE_COLOR(color) \
@@ -118,7 +128,7 @@ winFillSpansNativeGDI (DrawablePtr pDrawable,
if (hbmpOrig == NULL)
FatalError ("winFillSpans - DRAWABLE_PIXMAP - "
"SelectObject () failed on\n\tpPixmapPriv->hBitmap: "
- "%08x\n", pPixmapPriv->hBitmap);
+ "%08x\n", (unsigned int) pPixmapPriv->hBitmap);
/* Branch on the fill type */
switch (pGC->fillStyle)