Skip to content

Commit

Permalink
Fix build failure with GCC10.1 and Werror
Browse files Browse the repository at this point in the history
As found using jwt-cpp by @markus456 in issue Thalhammer/jwt-cpp#92
  • Loading branch information
Thalhammer authored Jul 29, 2020
1 parent a495b83 commit c885336
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 c885336

Please sign in to comment.