From ff13976518de3b08566c390e553690e7a4b24334 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Mon, 30 Dec 2024 19:38:47 -0700 Subject: [PATCH] update to latest zig version Signed-off-by: Stephen Gutekanst --- src/core/linux/Wayland.zig | 2 +- src/sysaudio/pipewire.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/linux/Wayland.zig b/src/core/linux/Wayland.zig index 87c8cb8f..e5a615ca 100644 --- a/src/core/linux/Wayland.zig +++ b/src/core/linux/Wayland.zig @@ -543,7 +543,7 @@ const keyboard_listener = struct { if (pressed) { 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) if (libxkbcommon.xkb_state_key_get_syms(wl.xkb_state, scancode + 8, &keysyms) == 1) { //Compose the keysym diff --git a/src/sysaudio/pipewire.zig b/src/sysaudio/pipewire.zig index 323677be..40142207 100644 --- a/src/sysaudio/pipewire.zig +++ b/src/sysaudio/pipewire.zig @@ -229,7 +229,7 @@ pub const Context = struct { .flags = 0, .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), };