From ff82f724e4ed24d73f15fa9c35a1d0c2c7d8cef7 Mon Sep 17 00:00:00 2001 From: Colin Harrison Date: Wed, 13 Oct 2010 10:20:06 -0700 Subject: Comparison between pointer and integer in latest dix/dispatch.c Signed-off-by: Keith Packard --- dix/dispatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dix/dispatch.c') diff --git a/dix/dispatch.c b/dix/dispatch.c index 35e7ddd99..b66861f78 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -916,7 +916,7 @@ GetGeometry(ClientPtr client, xGetGeometryReply *rep) rep->width = pDraw->width; rep->height = pDraw->height; - if (WindowDrawable(pDraw)) + if (WindowDrawable(pDraw->type)) { WindowPtr pWin = (WindowPtr)pDraw; rep->x = pWin->origin.x - wBorderWidth (pWin); -- cgit v1.2.3