diff options
| author | Rutger Broekhoff | 2023-12-04 20:19:18 +0100 |
|---|---|---|
| committer | Rutger Broekhoff | 2023-12-04 20:20:00 +0100 |
| commit | a50016c7481b4c8613e03af136d93309c6b30400 (patch) | |
| tree | dc7679467776395958e98caa68aa210711548e8b /tool | |
| parent | 2ee6e4a8d062f303d9abddb37551b9ae39630433 (diff) | |
| download | zig-nkeys-a50016c7481b4c8613e03af136d93309c6b30400.tar.gz zig-nkeys-a50016c7481b4c8613e03af136d93309c6b30400.zip | |
Update code for Zig dev
This code was tested on zig-dev-bin-1:0.12.0_dev.1773+8a8fd47d2-1 (AUR)
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 | } |