commit | ae1277c81e482018d9e07f2bb97c07c18cb80d70 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Wed Dec 27 05:46:53 2017 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Wed Dec 27 05:46:53 2017 +0000 |
tree | 38d0eeeff683285af696432e2fdf36fc8d1f8ca3 | |
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