From ddebccbd59dd9cbd0c61efe55a09d74df8ec83c8 Mon Sep 17 00:00:00 2001
From: Tobias Markmann <tm@ayena.de>
Date: Mon, 20 Oct 2014 13:43:59 +0200
Subject: Change old C-style cast to static_cast.

Test-Information:

Before clang produced a warning about old C-style cast; not anymore.

Change-Id: I0f381ea0cd1a015cc1774dd1878aaa2736c66059

diff --git a/Swift/Controllers/Roster/RosterController.cpp b/Swift/Controllers/Roster/RosterController.cpp
index 05376c9..99be985 100644
--- a/Swift/Controllers/Roster/RosterController.cpp
+++ b/Swift/Controllers/Roster/RosterController.cpp
@@ -93,7 +93,7 @@ RosterController::RosterController(const JID& jid, XMPPRoster* xmppRoster, Avata
 
 	handleShowOfflineToggled(settings_->getSetting(SettingConstants::SHOW_OFFLINE));
 
-	ownContact_ = boost::make_shared<ContactRosterItem>(myJID_.toBare(), myJID_.toBare(), nickManager_->getOwnNick(), (GroupRosterItem*)0);
+	ownContact_ = boost::make_shared<ContactRosterItem>(myJID_.toBare(), myJID_.toBare(), nickManager_->getOwnNick(), static_cast<GroupRosterItem*>(0));
 	ownContact_->setVCard(vcardManager_->getVCard(myJID_.toBare()));
 	ownContact_->setAvatarPath(pathToString(avatarManager_->getAvatarPath(myJID_.toBare())));
 	mainWindow_->setMyContactRosterItem(ownContact_);
-- 
cgit v0.10.2-6-g49f6