Fix several issues with JNI compression

The libraries will require a recompile.
This commit is contained in:
Andrew Steinborn
2022-06-08 00:53:15 -04:00
parent 04d3ed6820
commit 01c6777948
3 changed files with 12 additions and 8 deletions

View File

@@ -27,7 +27,7 @@ Java_com_velocitypowered_natives_compression_NativeZlibDeflate_free(JNIEnv *env,
libdeflate_free_compressor((struct libdeflate_compressor *) ctx);
}
JNIEXPORT jboolean JNICALL
JNIEXPORT jlong JNICALL
Java_com_velocitypowered_natives_compression_NativeZlibDeflate_process(JNIEnv *env,
jclass clazz,
jlong ctx,