From 673c9052d57da5673b04ce5a1926283446e79707 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 22 Apr 2013 14:39:20 -0400 Subject: [PATCH] 32-bit warning fix for cyg profile fast Signed-off-by: Mathieu Desnoyers --- liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.h b/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.h index 5356760f..0a6c67f9 100644 --- a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.h +++ b/liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.h @@ -35,7 +35,8 @@ extern "C" { TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast, func_entry, TP_ARGS(void *, func_addr), TP_FIELDS( - ctf_integer_hex(void *, addr, func_addr) + ctf_integer_hex(unsigned long, addr, + (unsigned long) func_addr) ) ) -- 2.34.1