Commit 5f6aaf5d authored by Charlie Fenton's avatar Charlie Fenton

Fix a compiler error and a compiler warning

svn path=/trunk/boinc/; revision=17394
parent 602f97f7
......@@ -2220,3 +2220,13 @@ David 25 Feb 2009
api/
texture.cpp
Charlie 25 Feb 2009
- MGR: Fix compiler warning.
- lib: Fix compiler error: Please do not use unmatched single quotes
(I changed don't to don`t in #warning statement to fix this.)
clientgui/
ProjectInfoPage.cpp
lib/
mac_address.cpp
......@@ -178,7 +178,7 @@ wxWizardPageEx* CProjectInfoPage::GetNext() const
} else {
// Check if we are already attached to that project:
CMainDocument* pDoc = wxGetApp().GetDocument();
for (unsigned int i = 0; i < pDoc->GetProjectCount(); ++i) {
for (int i = 0; i < pDoc->GetProjectCount(); ++i) {
PROJECT* project = pDoc->project(i);
if ((project) && (!strcmp(project->master_url.c_str(),m_strProjectURL.mb_str()))) {
// We are already attached to that project. Show the error page:
......
......@@ -269,7 +269,7 @@ get_mac_addresses(char* addresses) {
return true;
#else
#warning Don't know how to obtain mac address. get_mac_addresses() will return false.
#warning Don`t know how to obtain mac address. get_mac_addresses() will return false.
return false;
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment