From fce601de6b3607f296a993263a4fa553951ff09b Mon Sep 17 00:00:00 2001 From: Krishna Shah <85193239+DragonflyRobotics@users.noreply.github.com> Date: Fri, 14 Jun 2024 12:21:42 -0500 Subject: [PATCH] Update tp_call.h to fix simple type without cast error While building ROS2 Iron on Arch with an updated PKGBUILD, there seems to be a type mismatch without cast from uin64_t to const uint64_t *, so I just changed it. Perhaps this could be something on my end but I would like to propose the change regardless. Signed-off-by: Krishna Shah <85193239+DragonflyRobotics@users.noreply.github.com> --- tracetools/include/tracetools/tp_call.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracetools/include/tracetools/tp_call.h b/tracetools/include/tracetools/tp_call.h index 8c09e020..3dcd176b 100644 --- a/tracetools/include/tracetools/tp_call.h +++ b/tracetools/include/tracetools/tp_call.h @@ -471,7 +471,7 @@ TRACEPOINT_EVENT( ), TP_FIELDS( ctf_integer_hex(const void *, buffer, buffer_arg) - ctf_integer(const uint64_t *, index, index_arg) + ctf_integer(uint64_t, index, index_arg) ctf_integer(const uint64_t, size, size_arg) ctf_integer(const int, overwritten, (overwritten_arg ? 1 : 0)) )