We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 863aa36 commit 99a99d4Copy full SHA for 99a99d4
include/json/value.h
@@ -610,7 +610,7 @@ Json::Value obj_value(Json::objectValue); // {}
610
ptrdiff_t getOffsetLimit() const;
611
612
private:
613
- void setType(ValueType v) { bits_.value_type_ = v; }
+ void setType(ValueType v) { bits_.value_type_ = static_cast<unsigned char> (v); }
614
bool isAllocated() const { return bits_.allocated_; }
615
void setIsAllocated(bool v) { bits_.allocated_ = v; }
616
0 commit comments