flatpak: don't assume c_uint to be u32

Thanks pluie for the pointer.
This commit is contained in:
Leorize
2026-04-25 17:02:55 -07:00
parent 7cc9cc8ba8
commit 8b8f7136d0

View File

@@ -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