From ff7fc1fd45e2a05f9ac3203c246f240888da3706 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delanoy?= Date: Tue, 1 Oct 2013 23:33:53 +0200 Subject: [PATCH] winex11.drv: Use BOOL type where appropriate. --- dlls/winex11.drv/mouse.c | 6 ++++-- dlls/winex11.drv/window.c | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c index 168914fafde..b33827bb9d9 100644 --- a/dlls/winex11.drv/mouse.c +++ b/dlls/winex11.drv/mouse.c @@ -623,7 +623,8 @@ static XcursorImage *create_xcursor_frame( HDC hdc, const ICONINFOEXW *iinfo, HA { XcursorImage *image, *ret = NULL; DWORD delay_jiffies, num_steps; - int x, y, i, has_alpha = FALSE; + int x, y, i; + BOOL has_alpha = FALSE; XcursorPixel *ptr; image = pXcursorImageCreate( width, height ); @@ -1137,7 +1138,8 @@ static Cursor create_xlib_color_cursor( HDC hdc, const ICONINFOEXW *icon, int wi struct gdi_image_bits bits; unsigned int *color_bits = NULL, *ptr; unsigned char *mask_bits = NULL, *xor_bits = NULL; - int i, x, y, has_alpha = 0; + int i, x, y; + BOOL has_alpha = FALSE; int rfg, gfg, bfg, rbg, gbg, bbg, fgBits, bgBits; unsigned int width_bytes = (width + 31) / 32 * 4; diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 741a3030fdd..d9265e32bc8 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -472,7 +472,8 @@ static unsigned long *get_bitmap_argb( HDC hdc, HBITMAP color, HBITMAP mask, uns BITMAP bm; unsigned int *ptr, *bits = NULL; unsigned char *mask_bits = NULL; - int i, j, has_alpha = 0; + int i, j; + BOOL has_alpha = FALSE; if (!GetObjectW( color, sizeof(bm), &bm )) return NULL; info->bmiHeader.biSize = sizeof(BITMAPINFOHEADER);