Skip to content

Commit 8b8f713

Browse files
committed
flatpak: don't assume c_uint to be u32
Thanks pluie for the pointer.
1 parent 7cc9cc8 commit 8b8f713

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/os/flatpak.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub const FlatpakHostCommand = struct {
4141
clear_env: bool = false,
4242
/// Kill the sandbox when the caller disappears from the session bus
4343
watch_bus: bool = false,
44-
_reserved: u30 = 0,
44+
_reserved: std.meta.Int(.unsigned, @bitSizeOf(c_uint) - 2) = 0,
4545
};
4646

4747
/// Argv are the arguments to call on the host with argv[0] being

0 commit comments

Comments
 (0)