Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
fix for stage3
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnite committed Aug 25, 2022
1 parent 282d691 commit 20491f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,8 @@ test "Block loopback" {
var buf: [512]u8 = undefined;
var fbs = std.io.fixedBufferStream(&buf);

var rand = std.rand.DefaultPrng.init(0xf163bfab).random();
var prng = std.rand.DefaultPrng.init(0xf163bfab);
var rand = prng.random();
var expected = Block{
.flags = @bitCast(Flags, rand.int(u32)),
.target_addr = rand.int(u32),
Expand Down

0 comments on commit 20491f8

Please sign in to comment.