Skip to content

Commit 6b2fe61

Browse files
binaryparser: fix bug in align function
thanks to @pavel-a closes #27
1 parent bf9744e commit 6b2fe61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Evtx/BinaryParser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def align(offset, alignment):
7474
"""
7575
if offset % alignment == 0:
7676
return offset
77-
return offset + (alignment - (offset % alignment))
77+
return offset + (alignment - (offset % alignment))
7878

7979

8080
def dosdate(dosdate, dostime):

0 commit comments

Comments
 (0)