aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r--winsup/cygwin/path.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index b1d1a27..92cd2b8 100644
--- a/winsup/cygwin/path.h
+++ b/winsup/cygwin/path.h
@@ -101,7 +101,7 @@ class path_conv
char *known_suffix;
int error;
device dev;
- BOOL case_clash;
+ bool case_clash;
int isdisk () const { return path_flags & PATH_ISDISK;}
bool& isremote () {return fs.is_remote_drive ();}
@@ -183,7 +183,7 @@ class path_conv
DWORD file_attributes () {return fileattr;}
DWORD drive_type () {return fs.drive_type ();}
DWORD fs_flags () {return fs.flags ();}
- BOOL fs_fast_ea () {return fs.sym_opt () & PC_CHECK_EA;}
+ bool fs_fast_ea () {return !!(fs.sym_opt () & PC_CHECK_EA);}
void set_path (const char *p) {strcpy (path, p);}
const char * root_dir () const { return fs.root_dir (); }
DWORD volser () { return fs.serial (); }