Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tns-android",
"description": "NativeScript Runtime for Android",
"version": "6.6.0",
"version": "6.5.3",
"repository": {
"type": "git",
"url": "https://github.com/NativeScript/android-runtime.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.telerik.metadata.TreeNode.MethodInfo;

import java.nio.ByteBuffer;
import java.nio.Buffer;
import java.nio.ByteOrder;
import java.nio.IntBuffer;
import java.nio.charset.StandardCharsets;
Expand Down Expand Up @@ -346,7 +347,7 @@ public void writeTree(TreeNode root) throws Exception {
nodeData[1] = n.offsetName;
nodeData[2] = n.offsetValue;

intBuffer.clear();
((Buffer)intBuffer).clear();
intBuffer.put(nodeData);
outNodeStream.write(byteBuffer.array());

Expand Down