mirror of
https://github.com/ceph/ceph
synced 2025-02-19 08:57:27 +00:00
java: fix return type on JNI function
Return value of declaration was is a JNI specific jlong type, while a the return type of the definition was long. g++ not happy. Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
This commit is contained in:
parent
b1b9f0a44d
commit
08ee7364bc
@ -1685,7 +1685,7 @@ JNIEXPORT jint JNICALL Java_com_ceph_fs_CephMount_native_1ceph_1sync_1fs
|
||||
* Method: native_ceph_getxattr
|
||||
* Signature: (JLjava/lang/String;Ljava/lang/String;[B)J
|
||||
*/
|
||||
JNIEXPORT long JNICALL Java_com_ceph_fs_CephMount_native_1ceph_1getxattr
|
||||
JNIEXPORT jlong JNICALL Java_com_ceph_fs_CephMount_native_1ceph_1getxattr
|
||||
(JNIEnv *env, jclass clz, jlong j_mntp, jstring j_path, jstring j_name, jbyteArray j_buf)
|
||||
{
|
||||
struct ceph_mount_info *cmount = get_ceph_mount(j_mntp);
|
||||
|
Loading…
Reference in New Issue
Block a user