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 /include | |
parent | b154837e4b1891ac1347e22941d81413b3361f00 (diff) |
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 'include')
0 files changed, 0 insertions, 0 deletions