1
0
forked from 0ad/0ad

Fixed fix, to correct precedence (as warned about by the friendly compiler ;-) )

This was SVN commit r1707.
This commit is contained in:
Ykkrosh 2005-01-11 16:40:01 +00:00
parent 35262fae0b
commit 16a3ee4a4b

View File

@ -597,7 +597,7 @@ enum TreeLookupFlags
static int tree_lookup_dir(const char* path, TDir** pdir, uint flags = 0, char* exact_path = 0)
{
CHECK_PATH(path);
assert(flags & ~(LF_CREATE_MISSING|LF_START_DIR) == 0);
assert((flags & ~(LF_CREATE_MISSING|LF_START_DIR)) == 0);
// no undefined bits set
// can't check if path ends in '/' here - we're called via tree_lookup.