Skip to content

Commit e899529

Browse files
committed
Fix AArch64
1 parent dc7c0ae commit e899529

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backtrace/dbghelp64.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ impl MyContext {
6767
#[cfg(target_arch = "aarch64")]
6868
impl MyContext {
6969
#[inline(always)]
70-
fn ip(&self) -> DWORD64 {
71-
self.0.Pc
70+
fn ip(&self) -> usize {
71+
self.0.Pc as usize
7272
}
7373

7474
#[inline(always)]
75-
fn sp(&self) -> DWORD64 {
76-
self.0.Sp
75+
fn sp(&self) -> usize {
76+
self.0.Sp as usize
7777
}
7878
}
7979

0 commit comments

Comments
 (0)