=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: cabarc: Use BOOL type where appropriate.

Alexandre Julliard julliard at winehq.org
Thu Feb 20 10:08:10 CST 2014


Module: wine
Branch: master
Commit: 8bd2eb3e78fb28241dcd5d34b5e6c44207b722b2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8bd2eb3e78fb28241dcd5d34b5e6c44207b722b2

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Wed Feb 19 22:13:29 2014 +0100

cabarc: Use BOOL type where appropriate.

---

 programs/cabarc/cabarc.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/programs/cabarc/cabarc.c b/programs/cabarc/cabarc.c
index c49796d..04f2a9f 100644
--- a/programs/cabarc/cabarc.c
+++ b/programs/cabarc/cabarc.c
@@ -75,8 +75,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(cabarc);
 static int opt_cabinet_size = CB_MAX_DISK;
 static int opt_cabinet_id;
 static int opt_compression = tcompTYPE_MSZIP;
-static int opt_recurse;
-static int opt_preserve_paths;
+static BOOL opt_recurse;
+static BOOL opt_preserve_paths;
 static int opt_reserve_space;
 static int opt_verbose;
 static char *opt_cab_file;
@@ -672,10 +672,10 @@ int wmain( int argc, WCHAR *argv[] )
             }
             break;
         case 'p':
-            opt_preserve_paths = 1;
+            opt_preserve_paths = TRUE;
             break;
         case 'r':
-            opt_recurse = 1;
+            opt_recurse = TRUE;
             break;
         case 's':
             argv++; argc--;




More information about the wine-cvs mailing list