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), };