Skip to content

Commit 3e2f8d3

Browse files
authored
Merge pull request #902 from res2k/fix-888
Fix #888
2 parents 863aa36 + 99a99d4 commit 3e2f8d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: include/json/value.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ Json::Value obj_value(Json::objectValue); // {}
610610
ptrdiff_t getOffsetLimit() const;
611611

612612
private:
613-
void setType(ValueType v) { bits_.value_type_ = v; }
613+
void setType(ValueType v) { bits_.value_type_ = static_cast<unsigned char> (v); }
614614
bool isAllocated() const { return bits_.allocated_; }
615615
void setIsAllocated(bool v) { bits_.allocated_ = v; }
616616

0 commit comments

Comments
 (0)