Add explicit casts to bool in "shared pointer is valid" constructs that return bool.

llvm-svn: 161719
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp
index dc8d133..0513e33 100644
--- a/lldb/source/Target/Thread.cpp
+++ b/lldb/source/Target/Thread.cpp
@@ -136,7 +136,7 @@
 bool
 Thread::ThreadStoppedForAReason (void)
 {
-    return GetPrivateStopReason ();
+    return (bool) GetPrivateStopReason ();
 }
 
 bool