fix: zig update build errors
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 1m35s

This commit is contained in:
2025-08-06 16:14:22 +02:00
parent 4f6cabf898
commit c50b10f32d
4 changed files with 9 additions and 10 deletions

View File

@@ -33,7 +33,7 @@ pub fn App(comptime E: type) type {
// global variable for the registered handler for WINCH
var handler_ctx: *anyopaque = undefined;
/// registered WINCH handler to report resize events
fn handleWinch(_: c_int) callconv(.C) void {
fn handleWinch(_: c_int) callconv(.c) void {
const this: *@This() = @ptrCast(@alignCast(handler_ctx));
// NOTE this does not have to be done if in-band resize events are supported
// -> the signal might not work correctly when hosting the application over ssh!