]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/os-windows-x86.64.cpp
VM: Fixup cast formatting after clang-format
[factor.git] / vm / os-windows-x86.64.cpp
index 6533287ce8c30881ea59d64e95d22e5322da501e..c0220851e2364728656d85b4f583c5a6ae7dce73 100644 (file)
@@ -54,7 +54,7 @@ void factor_vm::c_to_factor_toplevel(cell quot) {
   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;
@@ -64,13 +64,13 @@ void factor_vm::c_to_factor_toplevel(cell quot) {
   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);