jhost_bind(jhost, host, env);
/* the native host data field is set with the global reference to the java host returned by this function */
- host->extension_set(JAVA_HOST_LEVEL, (void *)jhost);
+ host->extension_set(JAVA_HOST_LEVEL, jhost);
}
/* return the global reference to the java host instance */
env->SetObjectField(jhost, jhost_field_Host_name, jname);
/* Bind & store it */
jhost_bind(jhost, host, env);
- host->extension_set(JAVA_HOST_LEVEL, (void *) jhost);
+ host->extension_set(JAVA_HOST_LEVEL, jhost);
} else {
jhost = (jobject) host->extension(JAVA_HOST_LEVEL);
}