Skip to content

Commit a957d93

Browse files
committed
Fix setPrimitiveArrayRegion const qualifier.
1 parent 2a23a38 commit a957d93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1574,7 +1574,7 @@ pub const JNIEnv = extern struct {
15741574
array: MapArrayType(native_type),
15751575
start: jsize,
15761576
length: jsize,
1577-
buffer: [*]MapNativeType(native_type),
1577+
buffer: [*]const MapNativeType(native_type),
15781578
) SetPrimitiveArrayRegionError!void {
15791579
(switch (native_type) {
15801580
.boolean => self.interface.SetBooleanArrayRegion,

0 commit comments

Comments
 (0)