From 0b99c83c21f9899cb7e8fb876caf0b005b5121c7 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 2 Jan 2023 15:02:33 -0700 Subject: [PATCH] fix behavior test compile error I bungled the commit 995c36dcb1a82c3ec9cbd0cd7bfbadd5c0abd10e during the merge. Sorry about that. --- test/behavior/atomics.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/behavior/atomics.zig b/test/behavior/atomics.zig index 2ca0e9ff15..cf7c3b1503 100644 --- a/test/behavior/atomics.zig +++ b/test/behavior/atomics.zig @@ -256,12 +256,12 @@ test "atomicrmw with ints" { fn testAtomicRmwInts() !void { // TODO: Use the max atomic bit size for the target, maybe builtin? - try testAtomicRmwInt(8); + try testAtomicRmwInt(.unsigned, 8); if (builtin.cpu.arch == .x86_64) { - try testAtomicRmwInt(16); - try testAtomicRmwInt(32); - try testAtomicRmwInt(64); + try testAtomicRmwInt(.unsigned, 16); + try testAtomicRmwInt(.unsigned, 32); + try testAtomicRmwInt(.unsigned, 64); } }