From 16a3ee4a4bee1dcf7065e50a70bc23be42e6cf02 Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Tue, 11 Jan 2005 16:40:01 +0000 Subject: [PATCH] Fixed fix, to correct precedence (as warned about by the friendly compiler ;-) ) This was SVN commit r1707. --- source/lib/res/vfs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/res/vfs.cpp b/source/lib/res/vfs.cpp index 96f5bb0767..f04ed73fea 100755 --- a/source/lib/res/vfs.cpp +++ b/source/lib/res/vfs.cpp @@ -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.