Skip to content

Commit da815ec

Browse files
committed
Fixed warning.
1 parent 9e2eec8 commit da815ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NativeHelper/dllmain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ EXTERN_DLL_EXPORT VOID __stdcall DisassembleRemoteCode(HANDLE process, LPVOID ad
344344

345345
while (true)
346346
{
347-
disasm.SecurityBlock = end - disasm.EIP;
347+
disasm.SecurityBlock = (UInt32)(end - disasm.EIP);
348348

349349
auto disamLength = Disasm(&disasm);
350350
if (disamLength == OUT_OF_BLOCK || disamLength == UNKNOWN_OPCODE)

0 commit comments

Comments
 (0)