Skip to content

Commit 8ff0321

Browse files
LucaGuerrapoiana
authored andcommitted
fix(libsinsp): fix regression in signed comparison
Signed-off-by: Luca Guerra <[email protected]>
1 parent 5c5edf2 commit 8ff0321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

userspace/libsinsp/filter_compare.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ static inline void _throw_if_not_comparable(cmpop op, Check c)
415415
}
416416

417417
template<typename T>
418-
static inline bool flt_compare_numeric(cmpop op, uint64_t operand1, uint64_t operand2)
418+
static inline bool flt_compare_numeric(cmpop op, T operand1, T operand2)
419419
{
420420
switch(op)
421421
{

0 commit comments

Comments
 (0)