| ... | ... | @@ -306,7 +306,7 @@ fn Iterator(comptime ReaderType: type) type { |
| 306 | 306 | // bytes of padding to the end of the block |
| 307 | 307 | padding: usize, |
| 308 | 308 | // not consumed bytes of file from last next iteration |
| 309 | | unread_file_bytes: usize = 0, |
| 309 | unread_file_bytes: u64 = 0, |
| 310 | 310 | |
| 311 | 311 | pub const File = struct { |
| 312 | 312 | name: []const u8, // name of file, symlink or directory |
| ... | ... | @@ -315,7 +315,7 @@ fn Iterator(comptime ReaderType: type) type { |
| 315 | 315 | mode: u32 = 0, |
| 316 | 316 | kind: FileKind = .file, |
| 317 | 317 | |
| 318 | | unread_bytes: *usize, |
| 318 | unread_bytes: *u64, |
| 319 | 319 | reader: ReaderType, |
| 320 | 320 | |
| 321 | 321 | pub const Reader = std.io.Reader(*Self, ReaderType.Error, read); |