summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/java/jvpp-registry
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-04-26 14:25:56 +0200
committerFlorin Coras <florin.coras@gmail.com>2017-04-27 08:00:55 +0000
commit31d43481c4a19ab552ff20c43b5390e6e1a10e41 (patch)
treeefb02a327ee8337c8ab7cc5acfb0b35fd62422c4 /src/vpp-api/java/jvpp-registry
parenta07779f78526d7596336919dd3c9e7b455d2a05f (diff)
japi: fix compilation on 32-bit systems
Change-Id: Ia7cb986544a13cc17b43b2f0948482deb02e8fb5 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vpp-api/java/jvpp-registry')
-rw-r--r--src/vpp-api/java/jvpp-registry/jvpp_registry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp-api/java/jvpp-registry/jvpp_registry.c b/src/vpp-api/java/jvpp-registry/jvpp_registry.c
index add872db801..66adfea041a 100644
--- a/src/vpp-api/java/jvpp-registry/jvpp_registry.c
+++ b/src/vpp-api/java/jvpp-registry/jvpp_registry.c
@@ -309,7 +309,7 @@ JNIEXPORT jobject JNICALL Java_io_fd_vpp_jvpp_VppJNIConnection_clientConnect(
(*env)->ReleaseStringUTFChars(env, clientName, client_name);
return (*env)->NewObject(env, connectionInfoClass,
- connectionInfoConstructor, (jlong) jm->vl_input_queue,
+ connectionInfoConstructor, (jlong) pointer_to_uword (jm->vl_input_queue),
(jint) jm->my_client_index, (jint) rv);
}