mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 20:59:55 +08:00
146441473c
* [breakpad] update to 2023.01.27 * Fix the CMakeFindDependencyMacro part. * Attach zlib to where the glob happens, and remove duplicate cpp files from dump_syms. * Zlib is an unconditional dependency on Linux --------- Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
15 lines
444 B
Diff
15 lines
444 B
Diff
diff --git a/src/processor/disassembler_objdump.cc b/src/processor/disassembler_objdump.cc
|
|
index dfe10d58..26be029c 100644
|
|
--- a/src/processor/disassembler_objdump.cc
|
|
+++ b/src/processor/disassembler_objdump.cc
|
|
@@ -85,7 +85,7 @@ ScopedTmpFile::~ScopedTmpFile() {
|
|
}
|
|
|
|
bool ScopedTmpFile::Create() {
|
|
- fd_ = mkstemp(path_.data());
|
|
+ fd_ = mkstemp(const_cast<char*>(path_.data()));
|
|
if (fd_ < 0) {
|
|
unlink(path_.c_str());
|
|
fd_ = 0;
|
|
|