Skip to content

Commit

Permalink
Fix block size computation in DS_Store description (#637)
Browse files Browse the repository at this point in the history
Missing parentheses cause wrong computation of block sizes.
  • Loading branch information
SkypLabs committed Jan 16, 2023
1 parent c61bec5 commit 483e2a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macos/ds_store.ksy
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ types:
offset:
value: (address_raw & ~_root.block_address_mask) + 4
size:
value: 1 << address_raw & _root.block_address_mask
value: 1 << (address_raw & _root.block_address_mask)
directory_entry:
seq:
- id: len_name
Expand Down

0 comments on commit 483e2a7

Please sign in to comment.