shell32/tests: Use BOOL type where appropriate

Frédéric Delanoy frederic.delanoy at gmail.com
Wed Oct 30 16:00:15 CDT 2013


---
 dlls/shell32/tests/msg.h         | 2 +-
 dlls/shell32/tests/progman_dde.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/shell32/tests/msg.h b/dlls/shell32/tests/msg.h
index 361ccdb..a457fd4 100644
--- a/dlls/shell32/tests/msg.h
+++ b/dlls/shell32/tests/msg.h
@@ -106,7 +106,7 @@ static void flush_sequences(struct msg_sequence **seq, int n)
 }
 
 static void ok_sequence_(struct msg_sequence **seq, int sequence_index,
-    const struct message *expected, const char *context, int todo,
+    const struct message *expected, const char *context, BOOL todo,
     const char *file, int line)
 {
     struct msg_sequence *msg_seq = seq[sequence_index];
diff --git a/dlls/shell32/tests/progman_dde.c b/dlls/shell32/tests/progman_dde.c
index 3f2adee..5b22387 100644
--- a/dlls/shell32/tests/progman_dde.c
+++ b/dlls/shell32/tests/progman_dde.c
@@ -363,7 +363,7 @@ static void DdeExecuteCommand(DWORD instance, HCONV hConv, const char *strCmd, H
  * window creation happened were not encouraging (not including
  * SetWindowsHookEx).
  */
-static void CheckWindowCreated(const char *winName, int closeWindow, int testParams)
+static void CheckWindowCreated(const char *winName, BOOL closeWindow, int testParams)
 {
     HWND window = NULL;
     int i;
@@ -387,7 +387,7 @@ static void CheckWindowCreated(const char *winName, int closeWindow, int testPar
 /* Check for Existence (or non-existence) of a file or group
  *   When testing for existence of a group, groupName is not needed
  */
-static void CheckFileExistsInProgramGroups(const char *nameToCheck, int shouldExist, int isGroup,
+static void CheckFileExistsInProgramGroups(const char *nameToCheck, BOOL shouldExist, BOOL isGroup,
                                            const char *groupName, int testParams)
 {
     char path[MAX_PATH];
@@ -469,7 +469,7 @@ static void CreateGroupTest(DWORD instance, HCONV hConv, const char *command, UI
  *        1. window is open
  */
 static void ShowGroupTest(DWORD instance, HCONV hConv, const char *command, UINT expected_result,
-                          const char *groupName, const char *windowTitle, int closeAfterShowing, int testParams)
+                          const char *groupName, const char *windowTitle, BOOL closeAfterShowing, int testParams)
 {
     HDDEDATA hData;
     UINT error;
-- 
1.8.4.1




More information about the wine-patches mailing list