| ... | ... | @@ -322,7 +322,7 @@ test "PackedIntArray" { |
| 322 | 322 | const int_count = 19; |
| 323 | 323 | |
| 324 | 324 | comptime var bits = 0; |
| 325 | | inline while (bits <= 256) : (bits += 1) { |
| 325 | inline while (bits <= max_bits) : (bits += 1) { |
| 326 | 326 | //alternate unsigned and signed |
| 327 | 327 | const even = bits % 2 == 0; |
| 328 | 328 | const I = std.meta.Int(even, bits); |
| ... | ... | @@ -372,7 +372,7 @@ test "PackedIntSlice" { |
| 372 | 372 | var buffer: [total_bytes]u8 = undefined; |
| 373 | 373 | |
| 374 | 374 | comptime var bits = 0; |
| 375 | | inline while (bits <= 256) : (bits += 1) { |
| 375 | inline while (bits <= max_bits) : (bits += 1) { |
| 376 | 376 | //alternate unsigned and signed |
| 377 | 377 | const even = bits % 2 == 0; |
| 378 | 378 | const I = std.meta.Int(even, bits); |