You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by we...@apache.org on 2019/07/26 22:33:25 UTC
[hadoop] branch trunk updated: HDFS-14425. Native build fails on
macos due to jlong in hdfs.c (#741)
This is an automated email from the ASF dual-hosted git repository.
weichiu pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new 2fe450c HDFS-14425. Native build fails on macos due to jlong in hdfs.c (#741)
2fe450c is described below
commit 2fe450cb5e294a39e30b0d253c1e09135d967ba8
Author: hunshenshi <28...@qq.com>
AuthorDate: Sat Jul 27 06:33:12 2019 +0800
HDFS-14425. Native build fails on macos due to jlong in hdfs.c (#741)
---
.../hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c
index 2fd0592..b8442b4 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c
+++ b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/hdfs.c
@@ -3212,7 +3212,7 @@ tOffset hdfsGetDefaultBlockSizeAtPath(hdfsFS fs, const char *path)
path);
return -1;
}
- jthr = getDefaultBlockSize(env, jFS, jPath, &blockSize);
+ jthr = getDefaultBlockSize(env, jFS, jPath, (jlong *)&blockSize);
(*env)->DeleteLocalRef(env, jPath);
if (jthr) {
errno = printExceptionAndFree(env, jthr, PRINT_EXC_ALL,
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org