From 762aef661318cb643ce393af40267f2d84f026c3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Delanoy?= Date: Wed, 20 Nov 2013 01:26:25 +0100 Subject: [PATCH] user32: Use BOOL type where appropriate. --- dlls/user32/cursoricon.c | 3 ++- dlls/user32/message.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dlls/user32/cursoricon.c b/dlls/user32/cursoricon.c index 53089c275d9..3c318949755 100644 --- a/dlls/user32/cursoricon.c +++ b/dlls/user32/cursoricon.c @@ -1100,7 +1100,8 @@ static HCURSOR CURSORICON_CreateIconFromANI( const BYTE *bits, DWORD bits_size, ani_header header = {0}; BOOL use_seq = FALSE; HCURSOR cursor = 0; - UINT i, error = 0; + UINT i; + BOOL error = FALSE; HICON *frames; riff_chunk_t root_chunk = { bits_size, bits }; diff --git a/dlls/user32/message.c b/dlls/user32/message.c index b51b6de6b0e..2cd14724f46 100644 --- a/dlls/user32/message.c +++ b/dlls/user32/message.c @@ -4205,7 +4205,7 @@ typedef struct BroadcastParm UINT msg; WPARAM wp; LPARAM lp; - DWORD success; + BOOL success; HWINSTA winsta; } BroadcastParm; @@ -4246,7 +4246,7 @@ static BOOL CALLBACK bcast_childwindow( HWND hw, LPARAM lp ) return TRUE; fail: - parm->success = 0; + parm->success = FALSE; return FALSE; } else if (parm->flags & BSF_POSTMESSAGE) -- 2.11.4.GIT