diff --git a/checkin_notes b/checkin_notes index f61c1e981c..ef304a9db2 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 + diff --git a/clientgui/AdvancedFrame.cpp b/clientgui/AdvancedFrame.cpp index cd27a7b1b7..4207ab3f8a 100644 --- a/clientgui/AdvancedFrame.cpp +++ b/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,