* environ.cc (environ_init): Avoid a compiler warning.

* path.cc (path_conv::check): Ditto.
* path.h (path_conv::operator int): Ditto.
* regex/engine.c: Ditto throughout.
* regex/regcomp.c: Ditto throughout.
* regex/regexec.c: Ditto throughout.
This commit is contained in:
Christopher Faylor
2002-09-30 02:51:22 +00:00
parent 79ed43004f
commit 9d1e72a175
10 changed files with 24 additions and 16 deletions

View File

@@ -146,7 +146,7 @@ class path_conv
operator char *() {return path;}
operator const char *() {return path;}
operator DWORD &() {return fileattr;}
operator int &() {return (int) fileattr; }
operator int () {return fileattr; }
char operator [](int i) const {return path[i];}
BOOL is_device () {return devn != FH_BAD && devn != FH_DISK;}
DWORD get_devn () {return devn == FH_BAD ? (DWORD) FH_DISK : devn;}