Skip to content

Commit

Permalink
Merge pull request #131 from Thalhammer/patch-1
Browse files Browse the repository at this point in the history
Fix build failure with GCC10.1 and Werror
  • Loading branch information
kazuho authored Jan 17, 2021
2 parents 35ce0b6 + c885336 commit 111c9be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion picojson.h
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ GET(array, *u_.array_)
GET(object, *u_.object_)
#ifdef PICOJSON_USE_INT64
GET(double,
(type_ == int64_type && (const_cast<value *>(this)->type_ = number_type, const_cast<value *>(this)->u_.number_ = u_.int64_),
(type_ == int64_type && (const_cast<value *>(this)->type_ = number_type, (const_cast<value *>(this)->u_.number_ = u_.int64_)),
u_.number_))
GET(int64_t, u_.int64_)
#else
Expand Down

0 comments on commit 111c9be

Please sign in to comment.