summaryrefslogtreecommitdiffstats
path: root/llvm/utils/KillTheDoctor/KillTheDoctor.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2016-06-23 14:45:54 +0000
committerAaron Ballman <aaron@aaronballman.com>2016-06-23 14:45:54 +0000
commit0da8b2ec09fc8a919ffaef9662cc2ba85e1fbd11 (patch)
treee41b99e28917d7c79a1e7a93b55aaea8e92c71c8 /llvm/utils/KillTheDoctor/KillTheDoctor.cpp
parentb06a359bebcc84052cff646ae90bd56c3f740608 (diff)
downloadbcm5719-llvm-0da8b2ec09fc8a919ffaef9662cc2ba85e1fbd11.tar.gz
bcm5719-llvm-0da8b2ec09fc8a919ffaef9662cc2ba85e1fbd11.zip
Explicitly specify the ANSI version of these Win32 APIs. While these are seemingly unrelated changes, they are all NFC because we currently default to the ANSI versions of the APIs when building for Windows. This simply makes the ANSI usage explicit.
llvm-svn: 273564
Diffstat (limited to 'llvm/utils/KillTheDoctor/KillTheDoctor.cpp')
-rw-r--r--llvm/utils/KillTheDoctor/KillTheDoctor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/KillTheDoctor/KillTheDoctor.cpp b/llvm/utils/KillTheDoctor/KillTheDoctor.cpp
index 180b42ff5b6..c9e96617f37 100644
--- a/llvm/utils/KillTheDoctor/KillTheDoctor.cpp
+++ b/llvm/utils/KillTheDoctor/KillTheDoctor.cpp
@@ -337,7 +337,7 @@ int main(int argc, char **argv) {
errs() << ToolName << ": Program Image Path: " << ProgramToRun << '\n'
<< ToolName << ": Command Line: " << CommandLine << '\n';
- STARTUPINFO StartupInfo;
+ STARTUPINFOA StartupInfo;
PROCESS_INFORMATION ProcessInfo;
std::memset(&StartupInfo, 0, sizeof(StartupInfo));
StartupInfo.cb = sizeof(StartupInfo);
OpenPOWER on IntegriCloud