Fix some compiler warnings.

This commit is contained in:
lotodore committed 2010-10-11 15:44:56 +00:00
1 parent 2c558daf9e
commit 972f678730
5 files changed
+12 -12

No files matched your search

@@ -1434,7 +1434,7 @@ void gameLobbyDialogImpl::showNickListContextMenu(QPoint p)
if(myNickListModel->rowCount() && myNickListSelectionModel->currentIndex().isValid()) {
assert(mySession);
int playerUid = myNickListSelectionModel->currentIndex().data(Qt::UserRole).toUInt();
unsigned playerUid = myNickListSelectionModel->currentIndex().data(Qt::UserRole).toUInt();
if(inGame && mySession->getClientGameInfo(mySession->getClientCurrentGameId()).data.gameType == GAME_TYPE_INVITE_ONLY && playerUid != mySession->getClientUniquePlayerId() && !mySession->getClientPlayerInfo(playerUid).isGuest) {