From 8b8f7136d041d324867f977e8980cba4e1aeb675 Mon Sep 17 00:00:00 2001 From: Leorize Date: Sat, 25 Apr 2026 17:02:55 -0700 Subject: [PATCH] flatpak: don't assume c_uint to be u32 Thanks pluie for the pointer. --- src/os/flatpak.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/flatpak.zig b/src/os/flatpak.zig index 3a8e6381e..44f820adc 100644 --- a/src/os/flatpak.zig +++ b/src/os/flatpak.zig @@ -41,7 +41,7 @@ pub const FlatpakHostCommand = struct { clear_env: bool = false, /// Kill the sandbox when the caller disappears from the session bus watch_bus: bool = false, - _reserved: u30 = 0, + _reserved: std.meta.Int(.unsigned, @bitSizeOf(c_uint) - 2) = 0, }; /// Argv are the arguments to call on the host with argv[0] being