changeset 43443:f444a6847614

8172721: Fix for 8172144 breaks AArch64 build Reviewed-by: dsamersoff
author aph
date Thu, 12 Jan 2017 16:27:40 +0000
parents f5ff8c427f99
children 5d868b60af95
files hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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()) {