update to latest zig version

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-12-30 19:38:47 -07:00 committed by Emi Gutekanst
parent b3139fbb0a
commit ff13976518
2 changed files with 2 additions and 2 deletions

View file

@ -543,7 +543,7 @@ const keyboard_listener = struct {
if (pressed) { if (pressed) {
core_ptr.pushEvent(.{ .key_press = key_event }); core_ptr.pushEvent(.{ .key_press = key_event });
var keysyms: ?[*]c.xkb_keysym_t = undefined; var keysyms: ?[*]const c.xkb_keysym_t = undefined;
//Get the keysym from the keycode (scancode + 8) //Get the keysym from the keycode (scancode + 8)
if (libxkbcommon.xkb_state_key_get_syms(wl.xkb_state, scancode + 8, &keysyms) == 1) { if (libxkbcommon.xkb_state_key_get_syms(wl.xkb_state, scancode + 8, &keysyms) == 1) {
//Compose the keysym //Compose the keysym

View file

@ -229,7 +229,7 @@ pub const Context = struct {
.flags = 0, .flags = 0,
.position = undefined, .position = undefined,
}; };
var params = [1][*c]c.spa_pod{ var params = [1][*c]const c.spa_pod{
sysaudio_spa_format_audio_raw_build(&pod_builder, c.SPA_PARAM_EnumFormat, &info), sysaudio_spa_format_audio_raw_build(&pod_builder, c.SPA_PARAM_EnumFormat, &info),
}; };