summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/java/jvpp-ioamexport
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/java/jvpp-ioamexport')
-rw-r--r--src/vpp-api/java/jvpp-ioamexport/jvpp_ioam_export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp-api/java/jvpp-ioamexport/jvpp_ioam_export.c b/src/vpp-api/java/jvpp-ioamexport/jvpp_ioam_export.c
index 9131ccb2a07..cf4499d5b12 100644
--- a/src/vpp-api/java/jvpp-ioamexport/jvpp_ioam_export.c
+++ b/src/vpp-api/java/jvpp-ioamexport/jvpp_ioam_export.c
@@ -47,7 +47,7 @@ JNIEXPORT void JNICALL Java_io_fd_vpp_jvpp_ioamexport_JVppIoamexportImpl_init0
clib_warning ("Java_io_fd_vpp_jvpp_ioamexport_JVppIoamexportImpl_init0");
plugin_main->my_client_index = my_client_index;
- plugin_main->vl_input_queue = (unix_shared_memory_queue_t *)queue_address;
+ plugin_main->vl_input_queue = uword_to_pointer (queue_address, unix_shared_memory_queue_t *);
plugin_main->callbackObject = (*env)->NewGlobalRef(env, callback);
plugin_main->callbackClass = (jclass)(*env)->NewGlobalRef(env, (*env)->GetObjectClass(env, callback));