[LLDB] Add a void* cast when passing object pointers to printf %p
authorMartin Storsjo <martin@martin.st>
Mon, 23 Sep 2019 12:03:28 +0000 (12:03 +0000)
committerMartin Storsjo <martin@martin.st>
Mon, 23 Sep 2019 12:03:28 +0000 (12:03 +0000)
commitd67b0997d2c472a28996c37918c3119efc7e11af
tree0784e7cdb30564c007a2ee258d2a64d102d6bc27
parent33d29a60a23e4dbdcb4b1a39571300c66139f6d7
[LLDB] Add a void* cast when passing object pointers to printf %p

This fixes build warnings in MinGW mode.

Also remove leftover if (log) {} around the log macro.

Differential Revision: https://reviews.llvm.org/D67896

llvm-svn: 372590
lldb/source/Host/windows/ConnectionGenericFileWindows.cpp