diff options
author | Adeel Mujahid <adeelbm@outlook.com> | 2019-05-06 20:26:06 +0300 |
---|---|---|
committer | Dave Watson <davejwatson@fb.com> | 2019-05-06 10:26:06 -0700 |
commit | 2270e2c6038830cd16f7141c8fb1cd20a94c5812 (patch) | |
tree | 30c7a65b7ae46d461060e6c5fda4dcdd75cd41bb /src/x86_64 | |
parent | 861caf878215c4bda57f2780de862c6d1cb4e4c1 (diff) | |
download | libunwind-2270e2c6038830cd16f7141c8fb1cd20a94c5812.tar.gz |
Fix format specifier for int64_t:29 (#117)
clang 8:
> x86_64/Gstash_frame.c:113:47: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
gcc 8:
> x86_64/Gstash_frame.c:113:15: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
Diffstat (limited to 'src/x86_64')
-rw-r--r-- | src/x86_64/Gstash_frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x86_64/Gstash_frame.c b/src/x86_64/Gstash_frame.c index 8a091dc1..2a44f873 100644 --- a/src/x86_64/Gstash_frame.c +++ b/src/x86_64/Gstash_frame.c @@ -110,7 +110,7 @@ tdep_stash_frame (struct dwarf_cursor *d, struct dwarf_reg_state *rs) } else if (f->frame_type == UNW_X86_64_FRAME_ALIGNED) { - Debug (4, " aligned frame, offset %li\n", f->cfa_reg_offset); + Debug (4, " aligned frame, offset %i\n", f->cfa_reg_offset); } /* PLT and guessed RBP-walked frames are handled in unw_step(). */ else { |