Repository: hadoop
Updated Branches:
  refs/heads/branch-3.2 eb0147a4c -> 5f97c0cd7


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/5f97c0cd
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/5f97c0cd
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/5f97c0cd

Branch: refs/heads/branch-3.2
Commit: 5f97c0cd7657cdeb6196b6f2c83e44990044f52f
Parents: eb0147a
Author: Jason Lowe <[email protected]>
Authored: Fri Oct 5 09:06:02 2018 -0500
Committer: Wei-Chiu Chuang <[email protected]>
Committed: Wed Oct 10 07:00:19 2018 -0700

----------------------------------------------------------------------
 .../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/5f97c0cd/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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to