Skip to content

Commit

Permalink
Added missing parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
DownWithUp authored Jun 9, 2021
1 parent dc83b61 commit 0798547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speakeasy/winenv/api/usermode/kernel32.py
Original file line number Diff line number Diff line change
Expand Up @@ -3287,7 +3287,7 @@ def CreateFile(self, emu, argv, ctx={}):
argv[1] = ' | '.join(ad)

disp_bytes = disp.to_bytes(8, 'little')
disp = int(int.from_bytes(disp_bytes[0:4], 'little')
disp = int(int.from_bytes(disp_bytes[0:4], 'little'))
cd = windefs.get_create_disposition(disp)
if cd:
argv[4] = cd
Expand Down

0 comments on commit 0798547

Please sign in to comment.