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

This commit is contained in:
Jason Lowe 2018-10-05 09:06:02 -05:00
parent 25b1e8a48e
commit f13e231025
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}