Skip to content

Commit

Permalink
fix parser: avoid signed to unsigned conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
bkueng committed Apr 29, 2024
1 parent 159f83e commit eab8144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/cpp/parse/parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class ParsedEvent
const std::string& type() const { return _event_definition.type; }

int numArguments() const { return static_cast<int>(_event_definition.arguments.size()); }
const EventArgumentDefinition& argument(int index) const { return _event_definition.arguments[index]; }
const EventArgumentDefinition& argument(std::size_t index) const { return _event_definition.arguments[index]; }
Argument argumentValue(int index) const;
uint64_t argumentValueInt(int index) const;

Expand Down

0 comments on commit eab8144

Please sign in to comment.