diff --git a/DiscImageChef.Filesystems/CPM/Super.cs b/DiscImageChef.Filesystems/CPM/Super.cs index 0b724d60e..37e2892c8 100644 --- a/DiscImageChef.Filesystems/CPM/Super.cs +++ b/DiscImageChef.Filesystems/CPM/Super.cs @@ -367,8 +367,8 @@ namespace DiscImageChef.Filesystems.CPM // allocate block 0 for a file because that's where the directory resides. // There is also a field telling how many bytes are used in the last block, but its meaning is // non-standard so we must ignore it. - foreach(byte blk in entry.allocations - .Where(blk => !blocks.Contains((ushort)blk) && blk != 0)) blocks.Add((ushort)blk); + foreach(ushort blk in entry.allocations + .Where(blk => !blocks.Contains(blk) && blk != 0)) blocks.Add(blk); // Save the file fInfo.UID = (ulong)user;