[Lldb-commits] [PATCH] TypeSynthetic: Fix a pointer-to-function to void-pointer cast

David Majnemer david.majnemer at gmail.com
Tue Jul 22 13:48:49 PDT 2014


Closed by commit rL213682 (authored by @majnemer).

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D4627

Files:
  lldb/trunk/source/DataFormatters/TypeSynthetic.cpp

Index: lldb/trunk/source/DataFormatters/TypeSynthetic.cpp
===================================================================
--- lldb/trunk/source/DataFormatters/TypeSynthetic.cpp
+++ lldb/trunk/source/DataFormatters/TypeSynthetic.cpp
@@ -57,7 +57,7 @@
                 Cascades() ? "" : " (not cascading)",
                 SkipsPointers() ? " (skip pointers)" : "",
                 SkipsReferences() ? " (skip references)" : "",
-                reinterpret_cast<void*>(m_create_callback),
+                reinterpret_cast<void*>(reinterpret_cast<intptr_t>(m_create_callback)),
                 m_description.c_str());
 
     return sstr.GetString();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4627.11783.patch
Type: text/x-patch
Size: 656 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140722/afd76a31/attachment.bin>


More information about the lldb-commits mailing list