summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2012-04-15 21:14:12 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-04-17 18:37:16 (GMT)
commitab8d948710dae16449cbe25fe6f7c95bfa5cf773 (patch)
treebcdc34c00139ffc7c62ac3e92c701f3671fd02ce /Swift/Controllers/Chat
parent7c683df1c9cde6ac8f1e4ffd04ab9a1b5a620348 (diff)
downloadswift-contrib-ab8d948710dae16449cbe25fe6f7c95bfa5cf773.zip
swift-contrib-ab8d948710dae16449cbe25fe6f7c95bfa5cf773.tar.bz2
Fixing some clang warnings.
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
Diffstat (limited to 'Swift/Controllers/Chat')
-rw-r--r--Swift/Controllers/Chat/UserSearchController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/UserSearchController.cpp b/Swift/Controllers/Chat/UserSearchController.cpp
index 47d57d4..839f4fa 100644
--- a/Swift/Controllers/Chat/UserSearchController.cpp
+++ b/Swift/Controllers/Chat/UserSearchController.cpp
@@ -48,7 +48,7 @@ void UserSearchController::handleUIEvent(boost::shared_ptr<UIEvent> event) {
bool handle = false;
boost::shared_ptr<RequestAddUserDialogUIEvent> request = boost::shared_ptr<RequestAddUserDialogUIEvent>();
if (type_ == AddContact) {
- if (request = boost::dynamic_pointer_cast<RequestAddUserDialogUIEvent>(event)) {
+ if ((request = boost::dynamic_pointer_cast<RequestAddUserDialogUIEvent>(event))) {
handle = true;
}
} else {