diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2017-12-27 05:46:53 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2017-12-27 05:46:53 +0000 |
| commit | ae1277c81e482018d9e07f2bb97c07c18cb80d70 (patch) | |
| tree | 38d0eeeff683285af696432e2fdf36fc8d1f8ca3 /src/libunwind.cpp | |
| parent | b154837e4b1891ac1347e22941d81413b3361f00 (diff) | |
| download | platform_external_libunwind_llvm-ae1277c81e482018d9e07f2bb97c07c18cb80d70.tar.gz platform_external_libunwind_llvm-ae1277c81e482018d9e07f2bb97c07c18cb80d70.tar.bz2 platform_external_libunwind_llvm-ae1277c81e482018d9e07f2bb97c07c18cb80d70.zip | |
There is no portable format string for printing `uintptr_t` values.
Instead, cast them to `void *` which has a portable format string syntax
of `%p`.
This fixes a -Wformat error when building libunwind.
git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@321469 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src/libunwind.cpp')
0 files changed, 0 insertions, 0 deletions
