Merge pull request #902 from res2k/fix-888

Fix #888
This commit is contained in:
Christopher Dunn 2019-03-23 14:43:56 -05:00 committed by GitHub
commit 3e2f8d3ea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -610,7 +610,7 @@ Json::Value obj_value(Json::objectValue); // {}
ptrdiff_t getOffsetLimit() const;
private:
void setType(ValueType v) { bits_.value_type_ = v; }
void setType(ValueType v) { bits_.value_type_ = static_cast<unsigned char> (v); }
bool isAllocated() const { return bits_.allocated_; }
void setIsAllocated(bool v) { bits_.allocated_ = v; }