vt: expand padding for color union to 64-bit to allow for a pointer

This commit is contained in:
Mitchell Hashimoto
2026-03-19 12:24:28 -07:00
parent d62f6df1d5
commit d827225573
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ typedef enum {
typedef union {
GhosttyColorPaletteIndex palette;
GhosttyColorRgb rgb;
uint32_t _padding;
uint64_t _padding;
} GhosttyStyleColorValue;
/**

View File

@@ -16,7 +16,7 @@ pub const ColorTag = enum(c_int) {
pub const ColorValue = extern union {
palette: u8,
rgb: color.RGB.C,
_padding: u32,
_padding: u64,
};
/// C: GhosttyStyleColor