mirror of https://github.com/BOINC/boinc.git
Fix a compiler error and a compiler warning
svn path=/trunk/boinc/; revision=17394
This commit is contained in:
parent
602f97f7f2
commit
5f6aaf5d08
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue