hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jl...@apache.org
Subject hadoop git commit: HADOOP-15820. ZStandardDecompressor native code sets an integer field as a long. Contributed by Jason Lowe
Date Fri, 05 Oct 2018 14:30:38 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-3.0 4bad89802 -> bbceae10b


HADOOP-15820. ZStandardDecompressor native code sets an integer field as a long. Contributed
by Jason Lowe

(cherry picked from commit f13e231025333ebf80b30bbdce1296cef554943b)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/bbceae10
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/bbceae10
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/bbceae10

Branch: refs/heads/branch-3.0
Commit: bbceae10b9b6430b93cc6a76588ff3e45a453433
Parents: 4bad898
Author: Jason Lowe <jlowe@apache.org>
Authored: Fri Oct 5 09:06:02 2018 -0500
Committer: Jason Lowe <jlowe@apache.org>
Committed: Fri Oct 5 09:29:41 2018 -0500

----------------------------------------------------------------------
 .../src/org/apache/hadoop/io/compress/zstd/ZStandardDecompressor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/bbceae10/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/compress/zstd/ZStandardDecompressor.c
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/compress/zstd/ZStandardDecompressor.c
b/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/compress/zstd/ZStandardDecompressor.c
index 1236756..e75a6ef 100644
--- a/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/compress/zstd/ZStandardDecompressor.c
+++ b/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/compress/zstd/ZStandardDecompressor.c
@@ -145,7 +145,7 @@ JNIEXPORT void JNICALL Java_org_apache_hadoop_io_compress_zstd_ZStandardDecompre
         THROW(env, "java/lang/InternalError", dlsym_ZSTD_getErrorName(result));
         return;
     }
-    (*env)->SetLongField(env, this, ZStandardDecompressor_remaining, 0);
+    (*env)->SetIntField(env, this, ZStandardDecompressor_remaining, 0);
 }
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message