From 8b8f7136d041d324867f977e8980cba4e1aeb675 Mon Sep 17 00:00:00 2001 From: Leorize Date: Sun, 26 Apr 2026 00:02:55 +0000 Subject: [PATCH] flatpak: don't assume c_uint to be u32 Thanks pluie for the pointer. --- src/os/flatpak.zig | 2 +- 1 file(s) changed, 1 insertion(s)(+), 1 deletion(s)(-) diff --git a/src/os/flatpak.zig b/src/os/flatpak.zig --- a/src/os/flatpak.zig +++ b/src/os/flatpak.zig @@ -41,7 +41,7 @@ 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 -- tangled.sh