diff options
Diffstat (limited to 'src/CompatData.zig')
| -rw-r--r-- | src/CompatData.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CompatData.zig b/src/CompatData.zig index a1f5de6..fd7f678 100644 --- a/src/CompatData.zig +++ b/src/CompatData.zig | |||
| @@ -22,7 +22,7 @@ pub fn init(allocator: mem.Allocator) !Self { | |||
| 22 | .nfkd = try allocator.alloc([]u21, 0x110000), | 22 | .nfkd = try allocator.alloc([]u21, 0x110000), |
| 23 | }; | 23 | }; |
| 24 | 24 | ||
| 25 | for (0..0x110000) |i| self.nfkd[i] = &.{}; | 25 | @memset(self.nfkd, &.{}); |
| 26 | 26 | ||
| 27 | while (true) { | 27 | while (true) { |
| 28 | const len: u8 = try reader.readInt(u8, endian); | 28 | const len: u8 = try reader.readInt(u8, endian); |