diff options
| author | Grace Yoder <grace_yoder@outlook.com> | 2026-06-25 16:46:59 -0600 |
|---|---|---|
| committer | Grace Yoder <grace_yoder@outlook.com> | 2026-06-25 16:47:40 -0600 |
| commit | 2f75723e16974bd21762fb64d5f6ce53984b115d (patch) | |
| tree | 17b9f2b1d96b01d4f21815b140ce818c103579c7 | |
| parent | a553c9b0601d125aaf7893b216db5c72307161c6 (diff) | |
fix: fixed build error
| -rw-r--r-- | src/main.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.zig b/src/main.zig index ea234e5..4f45742 100644 --- a/src/main.zig +++ b/src/main.zig @@ -16,10 +16,10 @@ pub fn main(init: std.process.Init) !void { var clip = try Clip.OSC52.init(std.heap.page_allocator, init.io, std.heap.pageSize()); defer clip.free(); - run(io, clip); + try run(io, &clip); } -pub fn run(io: *std.Io, clip: anytype) !void { +pub fn run(io: std.Io, clip: anytype) !void { std.debug.print("\x1b[0;32mCopying the following to Pasteboard\x1b[0m\n", .{}); var buf: [4096]u8 = undefined; |
