summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/data/qatomiccomparators.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/data/qatomiccomparators.cpp')
-rw-r--r--src/xmlpatterns/data/qatomiccomparators.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/data/qatomiccomparators.cpp b/src/xmlpatterns/data/qatomiccomparators.cpp
index f0ad8f7..e889aaf 100644
--- a/src/xmlpatterns/data/qatomiccomparators.cpp
+++ b/src/xmlpatterns/data/qatomiccomparators.cpp
@@ -218,7 +218,7 @@ IntegerComparator::compare(const Item &o1,
const Item &o2) const
{
const Numeric *const num1 = o1.as<Numeric>();
- const Numeric *const num2 = o1.as<Numeric>();
+ const Numeric *const num2 = o2.as<Numeric>();
/**
* Consider: