changeset 8864:6c864bb55b0b

8205440: [8u] DWORD64 required for later Windows compilers Reviewed-by: dholmes
author kevinw
date Tue, 26 Jun 2018 01:39:32 -0700
parents fc1c693e80bb
children 282043788706
files src/os/windows/vm/os_windows.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/os/windows/vm/os_windows.cpp	Mon Jun 25 07:59:51 2018 -0700
+++ b/src/os/windows/vm/os_windows.cpp	Tue Jun 26 01:39:32 2018 -0700
@@ -2255,9 +2255,9 @@
   assert((pc[1] & ~0x7) == 0xF8, "cannot handle non-register operands");
   assert(ctx->Rax == min_jint, "unexpected idiv exception");
   // set correct result values and continue after idiv instruction
-  ctx->Rip = (DWORD)pc + 2;        // idiv reg, reg  is 2 bytes
-  ctx->Rax = (DWORD)min_jint;      // result
-  ctx->Rdx = (DWORD)0;             // remainder
+  ctx->Rip = (DWORD64)pc + 2;        // idiv reg, reg  is 2 bytes
+  ctx->Rax = (DWORD64)min_jint;      // result
+  ctx->Rdx = (DWORD64)0;             // remainder
   // Continue the execution
   #else
   PCONTEXT ctx = exceptionInfo->ContextRecord;