summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source/MacOSX/MachThreadList.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-02-21 18:37:14 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-02-21 18:37:14 +0000
commitff461fcf07688fafdf3b84dee11d84ac760fcf5d (patch)
tree7ae1748ab4de7bac6c475046dc3bcd3300531004 /lldb/tools/debugserver/source/MacOSX/MachThreadList.cpp
parent8fdeff25e8cd9e751fac8836c9c3b5fd48944641 (diff)
downloadbcm5719-llvm-ff461fcf07688fafdf3b84dee11d84ac760fcf5d.tar.gz
bcm5719-llvm-ff461fcf07688fafdf3b84dee11d84ac760fcf5d.zip
Remove a ton of implicit narrowing conversions for C++11 compatibility.
llvm-svn: 151071
Diffstat (limited to 'lldb/tools/debugserver/source/MacOSX/MachThreadList.cpp')
-rw-r--r--lldb/tools/debugserver/source/MacOSX/MachThreadList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachThreadList.cpp b/lldb/tools/debugserver/source/MacOSX/MachThreadList.cpp
index 70f53478307..207bc77f32b 100644
--- a/lldb/tools/debugserver/source/MacOSX/MachThreadList.cpp
+++ b/lldb/tools/debugserver/source/MacOSX/MachThreadList.cpp
@@ -345,7 +345,7 @@ MachThreadList::ProcessWillResume(MachProcess *process, const DNBThreadResumeAct
UpdateThreadList(process, true, &new_threads);
- DNBThreadResumeAction resume_new_threads = { -1, eStateRunning, 0, INVALID_NUB_ADDRESS };
+ DNBThreadResumeAction resume_new_threads = { -1U, eStateRunning, 0, INVALID_NUB_ADDRESS };
// If we are planning to run only one thread, any new threads should be suspended.
if (run_one_thread)
resume_new_threads.state = eStateSuspended;
OpenPOWER on IntegriCloud