Small bug and compiler warning fixes:

- gui/forums/CreateForumMsg.cpp used endl instead of std::endl
- constructor's initializer in the wrong order
- temporary variables type causing signedness warnings


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3107 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
leander-256 2010-06-10 14:13:20 +00:00
parent d48035385b
commit c3c607ec80
6 changed files with 11 additions and 11 deletions

View file

@ -229,7 +229,7 @@ void ServerPage::saveAddresses()
int netIndex = ui.netModeComboBox->currentIndex();
/* Check if netMode has changed */
int netMode = 0;
uint32_t netMode = 0;
switch(netIndex)
{
case 2:
@ -247,7 +247,7 @@ void ServerPage::saveAddresses()
if (detail.tryNetMode != netMode)
rsPeers->setNetworkMode(ownId, netMode);
int visState = 0;
uint32_t visState = 0;
/* Check if vis has changed */
if (0 == ui.discComboBox->currentIndex())
visState |= RS_VS_DISC_ON;