<div dir="ltr">I assume this is just to supress the warning from GCC.   LGTM</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 2:14 PM, David Majnemer <span dir="ltr"><<a href="mailto:david.majnemer@gmail.com" target="_blank">david.majnemer@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi zturner, tfiala,<br>
<br>
printf's %p format specifier expects an argument of type void-pointer,<br>
not type PyThreadState*.  Fix this with a static_cast.<br>
<br>
<a href="http://reviews.llvm.org/D4632" target="_blank">http://reviews.llvm.org/D4632</a><br>
<br>
Files:<br>
  source/Interpreter/ScriptInterpreterPython.cpp<br>
<br>
Index: source/Interpreter/ScriptInterpreterPython.cpp<br>
===================================================================<br>
--- source/Interpreter/ScriptInterpreterPython.cpp<br>
+++ source/Interpreter/ScriptInterpreterPython.cpp<br>
@@ -804,7 +804,7 @@<br>
             int num_threads = PyThreadState_SetAsyncExc(tid, PyExc_KeyboardInterrupt);<br>
             if (log)<br>
                 log->Printf("ScriptInterpreterPython::NonInteractiveInputReaderCallback, eInputReaderInterrupt, tid = %ld, num_threads = %d, state = %p",<br>
-                            tid,num_threads,state);<br>
+                            tid, num_threads, static_cast<void *>(state));<br>
         }<br>
         else if (log)<br>
             log->Printf("ScriptInterpreterPython::NonInteractiveInputReaderCallback, eInputReaderInterrupt, state = NULL");<br>
</blockquote></div><br></div>