Skip to content

Commit 8b8ba34

Browse files
lukasstadlerfangerer
authored andcommitted
unnecessary cast
1 parent 3339f89 commit 8b8ba34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/common/SequenceStorageNodes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1504,7 +1504,7 @@ static NativeSequenceStorage doByte(byte[] arr, int length,
15041504
static NativeSequenceStorage doObject(Object[] arr, int length,
15051505
@Shared @Cached CStructAccess.AllocateNode alloc,
15061506
@Cached CStructAccess.WriteObjectNewRefNode write) {
1507-
Object mem = alloc.alloc((arr.length + 1) * (long) CStructAccess.POINTER_SIZE);
1507+
Object mem = alloc.alloc((arr.length + 1) * CStructAccess.POINTER_SIZE);
15081508
write.writeArray(mem, arr);
15091509
return NativeObjectSequenceStorage.create(mem, length, arr.length, true);
15101510
}

0 commit comments

Comments
 (0)