mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Clean up some warnings, and make the CRT ones more relevant
This commit is contained in:
@ -259,10 +259,10 @@ public:
|
||||
uint64_t ModifyTime() const { return fModifyTime; }
|
||||
|
||||
/** Returns \p true if this file is a directory. */
|
||||
bool IsDirectory() const { return (fFlags & kIsDirectory); }
|
||||
bool IsDirectory() const { return (fFlags & kIsDirectory) != 0; }
|
||||
|
||||
/** Returns \p true if this file is a regular file. */
|
||||
bool IsFile() const { return (fFlags & kIsNormalFile); }
|
||||
bool IsFile() const { return (fFlags & kIsNormalFile) != 0; }
|
||||
|
||||
private:
|
||||
plFileName fName;
|
||||
|
@ -66,6 +66,8 @@ typedef unsigned int UniChar;
|
||||
# define wcsicmp _wcsicmp
|
||||
# define wcsnicmp _wcsnicmp
|
||||
# define strlwr _strlwr
|
||||
# define strdup _strdup
|
||||
# define wcsdup _wcsdup
|
||||
#else
|
||||
# define stricmp strcasecmp
|
||||
# define strnicmp strncasecmp
|
||||
|
Reference in New Issue
Block a user