mirror of https://github.com/BOINC/boinc.git
MGR: fix a compiler warning (size_t is unsigned).
svn path=/trunk/boinc/; revision=15074
This commit is contained in:
parent
a454147cbd
commit
06efe14423
|
@ -3328,8 +3328,7 @@ David April 21 2008
|
|||
view_profile.php
|
||||
|
||||
Rom April 21 2008 (HEAD)
|
||||
- Tag for 6.1.16 release, all platforms
|
||||
boinc_core_release_6_1_16
|
||||
- Bump version to 6.1.16.
|
||||
|
||||
/
|
||||
configure.ac
|
||||
|
@ -3340,3 +3339,12 @@ David April 21 2008
|
|||
|
||||
client/
|
||||
hostinfo_unix.C
|
||||
|
||||
Charlie April 22 2008
|
||||
- MGR: fix a compiler warning (size_t is unsigned).
|
||||
- Tag for 6.1.16 release, all platforms
|
||||
boinc_core_release_6_1_16
|
||||
|
||||
clientgui/
|
||||
AdvancedFrame.cpp
|
||||
|
||||
|
|
|
@ -1189,11 +1189,11 @@ void CAdvancedFrame::OnSelectComputer(wxCommandEvent& WXUNUSED(event)) {
|
|||
// Connect to the remote machine
|
||||
wxString sHost = dlg.m_ComputerNameCtrl->GetValue();
|
||||
long lPort = GUI_RPC_PORT;
|
||||
size_t iPos = sHost.find(_(":"));
|
||||
int iPos = sHost.find(_(":"));
|
||||
if (iPos != -1) {
|
||||
wxString sPort = sHost.substr(iPos + 1);
|
||||
wxString sPort = sHost.substr((size_t)iPos + 1);
|
||||
if (!sPort.ToLong(&lPort)) lPort = GUI_RPC_PORT;
|
||||
sHost.erase(iPos);
|
||||
sHost.erase((size_t)iPos);
|
||||
}
|
||||
lRetVal = pDoc->Connect(
|
||||
sHost,
|
||||
|
|
Loading…
Reference in New Issue