HDFS-14425. Native build fails on macos due to jlong in hdfs.c (#741)
This commit is contained in:
parent
62efb63006
commit
2fe450cb5e
|
@ -3212,7 +3212,7 @@ tOffset hdfsGetDefaultBlockSizeAtPath(hdfsFS fs, const char *path)
|
||||||
path);
|
path);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
jthr = getDefaultBlockSize(env, jFS, jPath, &blockSize);
|
jthr = getDefaultBlockSize(env, jFS, jPath, (jlong *)&blockSize);
|
||||||
(*env)->DeleteLocalRef(env, jPath);
|
(*env)->DeleteLocalRef(env, jPath);
|
||||||
if (jthr) {
|
if (jthr) {
|
||||||
errno = printExceptionAndFree(env, jthr, PRINT_EXC_ALL,
|
errno = printExceptionAndFree(env, jthr, PRINT_EXC_ALL,
|
||||||
|
|
Loading…
Reference in New Issue