diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-21 18:37:14 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-21 18:37:14 +0000 |
commit | ff461fcf07688fafdf3b84dee11d84ac760fcf5d (patch) | |
tree | 7ae1748ab4de7bac6c475046dc3bcd3300531004 /lldb/tools/debugserver/source/MacOSX/MachThreadList.cpp | |
parent | 8fdeff25e8cd9e751fac8836c9c3b5fd48944641 (diff) | |
download | bcm5719-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.cpp | 2 |
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; |