mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-30 04:17:56 +00:00
fuzz: termio.MessageData small_size is max of 255, not 256
This commit is contained in:
@@ -84,6 +84,8 @@ pub const Message = union(enum) {
|
||||
/// are a stable pointer, or require deallocation. This is helpful for thread
|
||||
/// messaging utilities.
|
||||
pub fn MessageData(comptime Elem: type, comptime small_size: comptime_int) type {
|
||||
assert(small_size <= std.math.maxInt(u8));
|
||||
|
||||
return union(enum) {
|
||||
pub const Self = @This();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user