From 86d3f18707d2ca9318d66deb5867c0e0c917eb60 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 12 Mar 2025 09:10:07 -0700 Subject: [PATCH] pkg/oniguruma: fix build --- pkg/oniguruma/build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/oniguruma/build.zig b/pkg/oniguruma/build.zig index 3b8d0a954..889a04edd 100644 --- a/pkg/oniguruma/build.zig +++ b/pkg/oniguruma/build.zig @@ -91,7 +91,7 @@ fn buildLib(b: *std.Build, module: *std.Build.Module, options: anytype) !*std.Bu .SIZEOF_INT = t.cTypeByteSize(.int), .SIZEOF_LONG = t.cTypeByteSize(.long), .SIZEOF_LONG_LONG = t.cTypeByteSize(.longlong), - .SIZEOF_VOIDP = t.ptrBitWidth() / t.cTypeByteSize(.char), + .SIZEOF_VOIDP = t.ptrBitWidth() / t.cTypeBitSize(.char), })); var flags = std.ArrayList([]const u8).init(b.allocator);