summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/devices.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-12-03 16:35:52 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-12-03 16:35:52 +0000
commit145b4dc249adfa4cebd265b9e402dd5f98c4afc3 (patch)
tree80ce5dbf591007670bbbb03c8e0dee672342c0fe /winsup/cygwin/devices.h
parentd2fa946e51347ace19fa1c5a78ebb4fa6e2a2cba (diff)
downloadcygnal-145b4dc249adfa4cebd265b9e402dd5f98c4afc3.tar.gz
cygnal-145b4dc249adfa4cebd265b9e402dd5f98c4afc3.tar.bz2
cygnal-145b4dc249adfa4cebd265b9e402dd5f98c4afc3.zip
Substitute 0x7fffffff and 0xffffffff by INT32_MAX and UINT32_MAX
throughout, except in assembler code.
Diffstat (limited to 'winsup/cygwin/devices.h')
-rw-r--r--winsup/cygwin/devices.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/devices.h b/winsup/cygwin/devices.h
index 137fcd8b0..c01e2306f 100644
--- a/winsup/cygwin/devices.h
+++ b/winsup/cygwin/devices.h
@@ -131,7 +131,7 @@ struct device
const char *native;
_mode_t mode;
bool dev_on_fs;
- static const device *lookup (const char *, unsigned int = 0xffffffff);
+ static const device *lookup (const char *, unsigned int = UINT32_MAX);
void parse (const char *);
void parse (_major_t major, _minor_t minor);
void parse (_dev_t dev);