diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-18 09:30:51 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-18 09:30:51 +0100 |
commit | bfaed88493de0a3ebd7f2619cb11291cd09252b1 (patch) | |
tree | b75bbb5907ec6d534655b1e39349781299081b9a /src | |
parent | 78ae29780999824fa8619a4fc82da30cbb1f743c (diff) |
fixed but in iteratorv0.9.1
Diffstat (limited to 'src')
-rw-r--r-- | src/valueiterator.cpp | 2 |
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 |