8172721: Fix for 8172144 breaks AArch64 build
authoraph
Thu, 12 Jan 2017 16:27:40 +0000
changeset 43443 f444a6847614
parent 43442 f5ff8c427f99
child 43445 5d868b60af95
8172721: Fix for 8172144 breaks AArch64 build Reviewed-by: dsamersoff
hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp
--- a/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp	Thu Jan 12 10:31:00 2017 +0000
+++ b/hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp	Thu Jan 12 16:27:40 2017 +0000
@@ -209,7 +209,7 @@
       // belong to the caller.
       intptr_t* fp = os::Linux::ucontext_get_fp(uc);
       intptr_t* sp = os::Linux::ucontext_get_sp(uc);
-      void* pc = (void*)(uc->uc_mcontext.regs[REG_LR]
+      address pc = (address)(uc->uc_mcontext.regs[REG_LR]
                          - NativeInstruction::instruction_size);
       *fr = frame(sp, fp, pc);
       if (!fr->is_java_frame()) {