Fix: java agent 32-bit pointer to jlong warning
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 16 Feb 2016 16:05:10 +0000 (11:05 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 16 Feb 2016 16:05:10 +0000 (11:05 -0500)
commit74687dca581f1bbe441e0222e57b911f9ff1ec11
tree2fa6720364552932bb7ae5806ab44eba42062e97
parente01dcb2058ac827044e79bdd627497e3ada57f35
Fix: java agent 32-bit pointer to jlong warning

Fix the following compiler warning on 32-bit:

15:07:12 lttng_ust_context.c: In function 'Java_org_lttng_ust_agent_context_LttngContextApi_registerProvider':
15:07:12 lttng_ust_context.c:377:17: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]
15:07:12   provider_ref = (jlong) provider;

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-java-agent/jni/common/lttng_ust_context.c
This page took 0.023856 seconds and 4 git commands to generate.