Fix: java agent 32-bit pointer to jlong warning
[lttng-ust.git] / liblttng-ust-java-agent / jni / common / lttng_ust_context.c
index f412cc18fcb6c1b2eb33efe4526f78425401de55..3bed11ec8ff435768259a460d9dffbfb0636efc0 100644 (file)
@@ -374,7 +374,7 @@ JNIEXPORT jlong JNICALL Java_org_lttng_ust_agent_context_LttngContextApi_registe
                goto error_register;
        }
 
-       provider_ref = (jlong) provider;
+       provider_ref = (jlong) (long) provider;
        return provider_ref;
 
        /* Error handling. */
This page took 0.024725 seconds and 4 git commands to generate.