summaryrefslogtreecommitdiffstats
path: root/libcxxabi/src/Unwind/libunwind.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2015-02-26 04:01:37 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2015-02-26 04:01:37 +0000
commitbd04c44f48acaec94c10b439ad81cad1e936a656 (patch)
tree3a8ca408fd560ea8bbcfa79befa9ea8b5efc719b /libcxxabi/src/Unwind/libunwind.cpp
parentfb9015ddaaa182a6aa4ecaa175be4d89b364cb53 (diff)
downloadbcm5719-llvm-bd04c44f48acaec94c10b439ad81cad1e936a656.tar.gz
bcm5719-llvm-bd04c44f48acaec94c10b439ad81cad1e936a656.zip
Unwind: clean up some GCC warnings
This cleans up a set of -Wsign-conversion, -Wint-conversion, and -Wformat warnings from GCC 4.9.2 on Linux. NFC. llvm-svn: 230606
Diffstat (limited to 'libcxxabi/src/Unwind/libunwind.cpp')
-rw-r--r--libcxxabi/src/Unwind/libunwind.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxxabi/src/Unwind/libunwind.cpp b/libcxxabi/src/Unwind/libunwind.cpp
index d5b18d8fc44..49f06cc2139 100644
--- a/libcxxabi/src/Unwind/libunwind.cpp
+++ b/libcxxabi/src/Unwind/libunwind.cpp
@@ -309,7 +309,8 @@ _LIBUNWIND_EXPORT void unw_save_vfp_as_X(unw_cursor_t *cursor) {
/// SPI: walks cached dwarf entries
_LIBUNWIND_EXPORT void unw_iterate_dwarf_unwind_cache(void (*func)(
unw_word_t ip_start, unw_word_t ip_end, unw_word_t fde, unw_word_t mh)) {
- _LIBUNWIND_TRACE_API("unw_iterate_dwarf_unwind_cache(func=%p)\n", func);
+ _LIBUNWIND_TRACE_API("unw_iterate_dwarf_unwind_cache(func=%p)\n",
+ reinterpret_cast<void *>(func));
DwarfFDECache<LocalAddressSpace>::iterateCacheEntries(func);
}
OpenPOWER on IntegriCloud