diff options
Diffstat (limited to 'winsup/cygwin/devices.cc')
-rw-r--r-- | winsup/cygwin/devices.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/devices.cc b/winsup/cygwin/devices.cc index e2a776a5b..f2694c283 100644 --- a/winsup/cygwin/devices.cc +++ b/winsup/cygwin/devices.cc @@ -70,7 +70,7 @@ exists_ntdev_silent (const device& dev) static int exists_console (const device& dev) { - int devn = *const_cast<device *> (&dev); + fh_devices devn = *const_cast<device *> (&dev); switch (devn) { case FH_CONSOLE: @@ -45845,7 +45845,7 @@ device::init () void device::parse (_major_t major, _minor_t minor) { - _dev_t devn = FHDEV (major, minor); + dev_t devn = FHDEV (major, minor); d.devn = 0; @@ -45861,7 +45861,7 @@ device::parse (_major_t major, _minor_t minor) } void -device::parse (_dev_t dev) +device::parse (dev_t dev) { parse (_major (dev), _minor (dev)); } |