From 7f8ad0a2bf27be5cf52161f9685195bc7b602268 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 28 Apr 2004 00:31:21 +0000 Subject: [PATCH] Fixed unsigned comparison issue in previous change. --- dlls/x11drv/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/x11drv/window.c b/dlls/x11drv/window.c index 51281c0d9af..9974b17ee93 100644 --- a/dlls/x11drv/window.c +++ b/dlls/x11drv/window.c @@ -161,7 +161,7 @@ BOOL X11DRV_is_window_rect_mapped( const RECT *rect ) if (IsRectEmpty( rect )) return FALSE; /* don't map if rect is off-screen */ - if (rect->left >= screen_width || rect->top >= screen_height) return FALSE; + if (rect->left >= (int)screen_width || rect->top >= (int)screen_height) return FALSE; if (rect->right < 0 || rect->bottom < 0) return FALSE; return TRUE;