From: Mathieu Desnoyers Date: Mon, 22 Apr 2013 18:39:20 +0000 (-0400) Subject: 32-bit warning fix for cyg profile fast X-Git-Tag: v2.2.0-rc2~8 X-Git-Url: http://git.liburcu.org/?p=lttng-ust.git;a=commitdiff_plain;h=673c9052d57da5673b04ce5a1926283446e79707 32-bit warning fix for cyg profile fast Signed-off-by: Mathieu Desnoyers --- 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) ) )