Skip to content

Commit

Permalink
[REFACT] Added a variable cast
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Feb 6, 2024
1 parent 8da9c8a commit 5b35a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpeconv/src/exceptions_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ bool peconv::setup_exceptions(IN BYTE* modulePtr, IN size_t moduleSize)
// none of the exceptions was valid
return false;
}
if (RtlAddFunctionTable(exceptions_list, i, (ULONG_PTR)modulePtr)) {
if (RtlAddFunctionTable(exceptions_list, (DWORD)i, (ULONG_PTR)modulePtr)) {
return true;
}
return false;
Expand Down

0 comments on commit 5b35a9f

Please sign in to comment.