diff options
Diffstat (limited to 'tool')
-rw-r--r-- | tool/znk.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/znk.zig b/tool/znk.zig index fb2412f..af8f757 100644 --- a/tool/znk.zig +++ b/tool/znk.zig | |||
@@ -420,7 +420,7 @@ fn PrefixKeyGenerator(comptime EntropyReaderType: type) type { | |||
420 | role: nkeys.Role, | 420 | role: nkeys.Role, |
421 | prefix: []const u8, | 421 | prefix: []const u8, |
422 | allocator: Allocator, | 422 | allocator: Allocator, |
423 | done: std.atomic.Atomic(bool), | 423 | done: std.atomic.Value(bool), |
424 | entropy: ?EntropyReaderType, | 424 | entropy: ?EntropyReaderType, |
425 | 425 | ||
426 | const Self = @This(); | 426 | const Self = @This(); |
@@ -430,7 +430,7 @@ fn PrefixKeyGenerator(comptime EntropyReaderType: type) type { | |||
430 | .role = role, | 430 | .role = role, |
431 | .prefix = prefix, | 431 | .prefix = prefix, |
432 | .allocator = allocator, | 432 | .allocator = allocator, |
433 | .done = std.atomic.Atomic(bool).init(false), | 433 | .done = std.atomic.Value(bool).init(false), |
434 | .entropy = entropy, | 434 | .entropy = entropy, |
435 | }; | 435 | }; |
436 | } | 436 | } |