winepath: Use BOOL type where appropriate.

This commit is contained in:
Frédéric Delanoy 2013-10-11 22:43:03 +02:00 committed by Alexandre Julliard
parent 3e5fecc6a4
commit 101e7d3ee6
1 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ static int parse_options(WCHAR *argv[])
static const WCHAR nullW[] = { 0 }; static const WCHAR nullW[] = { 0 };
static const WCHAR *longopts[] = { longW, shortW, unixW, windowsW, helpW, versionW, nullW }; static const WCHAR *longopts[] = { longW, shortW, unixW, windowsW, helpW, versionW, nullW };
int outputformats = 0; int outputformats = 0;
int done = 0; BOOL done = FALSE;
int i, j; int i, j;
for (i = 1; argv[i] && !done; ) for (i = 1; argv[i] && !done; )
@ -119,7 +119,7 @@ static int parse_options(WCHAR *argv[])
if (argv[i][1] == '-') { if (argv[i][1] == '-') {
if (argv[i][2] == 0) { if (argv[i][2] == 0) {
/* '--' end of options */ /* '--' end of options */
done = 1; done = TRUE;
} else { } else {
/* long option */ /* long option */
for (j = 0; longopts[j][0]; j++) for (j = 0; longopts[j][0]; j++)