Skip to content

Commit

Permalink
fix compile problem
Browse files Browse the repository at this point in the history
  • Loading branch information
zjuwangg committed Feb 10, 2025
1 parent b416582 commit 6940191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/core/jni/JniCommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ class JavaRssClient : public RssClient {
array_ = static_cast<jbyteArray>(env->NewGlobalRef(array_));
}

env->SetByteArrayRegion(array_, 0, chunkSize, reinterpret_cast<jbyte*>(bytes + offset));
env->SetByteArrayRegion(array_, 0, chunkSize, (jbyte*)(bytes + offset));
jint javaBytesSize =
env->CallIntMethod(javaRssShuffleWriter_, javaPushPartitionData_, partitionId, array_, chunkSize);
checkException(env);
Expand Down

0 comments on commit 6940191

Please sign in to comment.