Skip to content

Commit

Permalink
fixed but in iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
EmielBruijntjes committed Mar 18, 2014
1 parent 78ae297 commit bfaed88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/valueiterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bfaed88

Please sign in to comment.