Skip to content

Commit

Permalink
Revert "Merge pull request #397 from asivery/master"
Browse files Browse the repository at this point in the history
This reverts commit ceab92e, reversing
changes made to 75f0964.
  • Loading branch information
erocarrera committed Apr 18, 2024
1 parent df2031f commit 576de23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def wrapper(*args, **kwargs):
def cache_adjust_FileAlignment(val, file_alignment):
if file_alignment < FILE_ALIGNMENT_HARDCODED_VALUE:
return val
return (int(val / file_alignment)) * file_alignment
return (int(val / 0x200)) * 0x200


@lru_cache(maxsize=2048)
Expand Down

0 comments on commit 576de23

Please sign in to comment.