summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-18 09:30:51 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-18 09:30:51 +0100
commitbfaed88493de0a3ebd7f2619cb11291cd09252b1 (patch)
treeb75bbb5907ec6d534655b1e39349781299081b9a
parent78ae29780999824fa8619a4fc82da30cbb1f743c (diff)
fixed but in iteratorv0.9.1
-rw-r--r--src/valueiterator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/valueiterator.cpp b/src/valueiterator.cpp
index 08520d5..3be8104 100644
--- a/src/valueiterator.cpp
+++ b/src/valueiterator.cpp
@@ -116,7 +116,7 @@ ValueIterator &ValueIterator::read()
if (type == HASH_KEY_NON_EXISTANT) return invalidate();
// numeric keys are the easiest ones
- if (type == HASH_KEY_NON_EXISTANT) key = (int64_t)num_key;
+ if (type == HASH_KEY_IS_LONG) key = (int64_t)num_key;
else key = string_key;
#endif