Skip to content

Commit

Permalink
update: use unsigned long
Browse files Browse the repository at this point in the history
Signed-off-by: RohithRaju <rohithraju488@gmail.com>
  • Loading branch information
Rohith-Raju committed Feb 7, 2024
1 parent c16ba20 commit 38b40a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/libsinsp/test/filterchecks/evt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ TEST_F(sinsp_with_test_input, EVT_FILTER_cmd_str)

int fd = 1;

sinsp_evt* evt = add_event_advance_ts(increasing_ts(), 1, PPME_SYSCALL_BPF_2_X, 2, fd, (uint32_t)PPM_BPF_PROG_LOAD);
sinsp_evt* evt = add_event_advance_ts(increasing_ts(), 1, PPME_SYSCALL_BPF_2_X, 2, fd, (uint64_t)PPM_BPF_PROG_LOAD);

ASSERT_EQ(get_field_as_string(evt, "evt.arg.cmd"), "BPF_PROG_LOAD");
}

0 comments on commit 38b40a4

Please sign in to comment.