summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrans Englich <frans.englich@nokia.com>2009-05-20 12:59:41 +0200
committerFrans Englich <frans.englich@nokia.com>2009-05-20 13:01:28 +0200
commit25f86fbab2e7d23832b0bb8ae8530289258e2aa5 (patch)
tree289f23232e114978823b747cfb3264aa6b91ab42 /src
parentb7e01ff7d994d704cbcd876a77bf32cbdf66c17b (diff)
Silence warning by MSVC.
Reviewed-By: TrustMe
Diffstat (limited to 'src')
-rw-r--r--src/xmlpatterns/expr/qpath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/expr/qpath.cpp b/src/xmlpatterns/expr/qpath.cpp
index 33bfa0f840..a60f6224af 100644
--- a/src/xmlpatterns/expr/qpath.cpp
+++ b/src/xmlpatterns/expr/qpath.cpp
@@ -170,7 +170,7 @@ Expression::Ptr Path::compress(const StaticContext::Ptr &context)
/* We do this as late as we can, such that we pick up the most recent type
* from the operand. */
- if(m_isLast && !m_kind == XSLTForEach && m_operand2->staticType()->itemType() == BuiltinTypes::item)
+ if(m_isLast && m_kind != XSLTForEach && m_operand2->staticType()->itemType() == BuiltinTypes::item)
m_checkXPTY0018 = true;
return me;