Fix Windows build using portable types for formatting the log outputs
llvm-svn: 202723
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp
index a998896..f64da07 100644
--- a/lldb/source/Expression/IRForTarget.cpp
+++ b/lldb/source/Expression/IRForTarget.cpp
@@ -2016,7 +2016,7 @@
}
ss.flush();
- log->Printf("Found ConstantFP with size %zu and raw data %s", operand_data_size, s.c_str());
+ log->Printf("Found ConstantFP with size %" PRId64 " and raw data %s", operand_data_size, s.c_str());
}
lldb_private::DataBufferHeap data(operand_data_size, 0);
@@ -2479,7 +2479,7 @@
}
if (log)
- log->Printf("Total structure [align %" PRId64 ", size %zu]", alignment, size);
+ log->Printf("Total structure [align %" PRId64 ", size %" PRId64 "]", alignment, size);
return true;
}