Skip to content

Commit

Permalink
fix(libsinsp): fix regression in signed comparison
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Guerra <[email protected]>
  • Loading branch information
LucaGuerra authored and poiana committed Jun 13, 2024
1 parent 5c5edf2 commit 8ff0321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/libsinsp/filter_compare.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ static inline void _throw_if_not_comparable(cmpop op, Check c)
}

template<typename T>
static inline bool flt_compare_numeric(cmpop op, uint64_t operand1, uint64_t operand2)
static inline bool flt_compare_numeric(cmpop op, T operand1, T operand2)
{
switch(op)
{
Expand Down

0 comments on commit 8ff0321

Please sign in to comment.