Skip to content

Commit

Permalink
Fix getPropertiesRW
Browse files Browse the repository at this point in the history
  • Loading branch information
dnjulek committed Apr 15, 2024
1 parent 4ea9ded commit a2ee9d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zigapi.zig
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub const Frame = struct {
}

pub fn getPropertiesRW(self: Self) ?*vs.Map {
return self.vsapi.?.getFramePropertiesRW.?(self.frame);
return self.vsapi.?.getFramePropertiesRW.?(@constCast(self.frame));
}

pub fn geHeight(self: Self, plane: u32) u32 {
Expand Down

0 comments on commit a2ee9d0

Please sign in to comment.