mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
apprt/gtk: fix int cast
This commit is contained in:
@ -808,7 +808,7 @@ pub fn gotoTab(self: *Surface, tab: apprt.GotoTab) void {
|
||||
.previous => window.gotoPreviousTab(self),
|
||||
.next => window.gotoNextTab(self),
|
||||
.last => window.gotoLastTab(),
|
||||
else => window.gotoTab(@intFromEnum(tab)),
|
||||
else => window.gotoTab(@intCast(@intFromEnum(tab))),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user