Skip to content

Commit bfaed88

Browse files
fixed but in iterator
1 parent 78ae297 commit bfaed88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/valueiterator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ ValueIterator &ValueIterator::read()
116116
if (type == HASH_KEY_NON_EXISTANT) return invalidate();
117117

118118
// numeric keys are the easiest ones
119-
if (type == HASH_KEY_NON_EXISTANT) key = (int64_t)num_key;
119+
if (type == HASH_KEY_IS_LONG) key = (int64_t)num_key;
120120
else key = string_key;
121121

122122
#endif

0 commit comments

Comments
 (0)