seh_area->handler[12] = 0xe0;
/* Store address of exception handler in the operand of the 'mov' */
- cell handler = (cell) & factor::exception_handler;
+ cell handler = (cell)&factor::exception_handler;
memcpy(&seh_area->handler[2], &handler, sizeof(cell));
UNWIND_INFO* unwind_info = &seh_area->unwind_info;
unwind_info->CountOfCodes = 0;
unwind_info->FrameRegister = 0;
unwind_info->FrameOffset = 0;
- unwind_info->ExceptionHandler = (DWORD)((cell) & seh_area->handler[0] - base);
+ unwind_info->ExceptionHandler = (DWORD)((cell)&seh_area->handler[0] - base);
unwind_info->ExceptionData[0] = 0;
RUNTIME_FUNCTION* func = &seh_area->func;
func->BeginAddress = 0;
func->EndAddress = (DWORD)(code->seg->end - base);
- func->UnwindData = (DWORD)((cell) & seh_area->unwind_info - base);
+ func->UnwindData = (DWORD)((cell)&seh_area->unwind_info - base);
if (!RtlAddFunctionTable(func, 1, base))
fatal_error("RtlAddFunctionTable() failed", 0);