Skip to content

Commit

Permalink
Explicitly specify Json::Value(Json::LargestUInt()) for assigning uns…
Browse files Browse the repository at this point in the history
…igned longs to Json::Value in ExtraMetadata.cpp

This fixes the MacOS build
  • Loading branch information
abinavpp committed Nov 5, 2023
1 parent ac56c73 commit 5fbd680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libsolidity/codegen/ExtraMetadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ class InlineAsmRecursiveFuncRecorder: public ASTConstVisitor
Json::Value record(Json::objectValue);
record["name"] = recFunc;
if (_context.runtimeContext())
record["creationTag"] = func.label;
record["creationTag"] = Json::Value(Json::LargestUInt(func.label));
else
record["runtimeTag"] = func.label;
record["runtimeTag"] = Json::Value(Json::LargestUInt(func.label));
record["totalParamSize"] = func.ins;
record["totalRetParamSize"] = func.outs;
m_recFuncs.append(record);
Expand Down

0 comments on commit 5fbd680

Please sign in to comment.