Skip to content

Commit d76d5f6

Browse files
authored
Fix padding size in Event (#17)
1 parent b080476 commit d76d5f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sdl3.zig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1771,7 +1771,7 @@ pub const Event = extern union {
17711771
render: RenderEvent,
17721772
drop: DropEvent,
17731773
clipboard: ClipboardEvent,
1774-
_: u128, // padding
1774+
_: [128]u8, // padding
17751775
};
17761776

17771777
/// Pump the event loop, gathering events from the input devices.

0 commit comments

Comments
 (0)