summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index a839c0ad7..250871df0 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -97,7 +97,7 @@ struct symlink_info
bool isdevice;
_major_t major;
_minor_t minor;
- _mode_t mode;
+ __mode_t mode;
int check (char *path, const suffix_info *suffixes, fs_info &fs,
path_conv_handle &conv_hdl);
int set (char *path);
@@ -2565,7 +2565,7 @@ symlink_info::parse_device (const char *contents)
char *endptr;
_major_t mymajor;
_major_t myminor;
- _mode_t mymode;
+ __mode_t mymode;
mymajor = strtol (contents += 2, &endptr, 16);
if (endptr == contents)