Skip to content

Commit

Permalink
Fix setPrimitiveArrayRegion const qualifier.
Browse files Browse the repository at this point in the history
  • Loading branch information
batiati committed Jun 27, 2023
1 parent 2a23a38 commit a957d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1574,7 +1574,7 @@ pub const JNIEnv = extern struct {
array: MapArrayType(native_type),
start: jsize,
length: jsize,
buffer: [*]MapNativeType(native_type),
buffer: [*]const MapNativeType(native_type),
) SetPrimitiveArrayRegionError!void {
(switch (native_type) {
.boolean => self.interface.SetBooleanArrayRegion,
Expand Down

0 comments on commit a957d93

Please sign in to comment.