mirror of https://github.com/BOINC/boinc.git
- client: GPU bug fix; compile warning fixes
svn path=/trunk/boinc/; revision=16901
This commit is contained in:
parent
b2d7812130
commit
85d65bd849
|
@ -246,3 +246,14 @@ David 13 Jan 2009
|
|||
lib/
|
||||
gui_rpc_client_ops.cpp
|
||||
gui_rpc_client.h
|
||||
|
||||
David 13 Jan 2009
|
||||
- client: GPU bug fix; compile warning fixes
|
||||
|
||||
client/
|
||||
client_types.cpp
|
||||
clientgui/
|
||||
BOINCTaskBar.cpp
|
||||
lib/
|
||||
filesys.cpp
|
||||
parse.cpp
|
||||
|
|
|
@ -1139,7 +1139,7 @@ int APP_VERSION::parse(MIOFILE& in) {
|
|||
int retval = cp->parse(in);
|
||||
if (!retval) {
|
||||
coprocs.coprocs.push_back(cp);
|
||||
ncudas = cp->used;
|
||||
ncudas = cp->count;
|
||||
} else {
|
||||
msg_printf(0, MSG_INTERNAL_ERROR, "Error parsing <coproc>");
|
||||
delete cp;
|
||||
|
|
|
@ -358,7 +358,8 @@ void CTaskBarIcon::OnMouseMove(wxTaskBarIconEvent& WXUNUSED(event)) {
|
|||
if (iActiveTaskCount > 2) continue;
|
||||
|
||||
if (result) {
|
||||
state_result = pDoc->state.lookup_result(result->project_url, result->name);
|
||||
PROJECT* project = pDoc->state.lookup_project(result->project_url);
|
||||
state_result = pDoc->state.lookup_result(project, result->name);
|
||||
if (state_result) {
|
||||
state_result->project->get_name(project_name);
|
||||
strProjectName = wxString(project_name.c_str());
|
||||
|
|
|
@ -675,8 +675,8 @@ void relative_to_absolute(const char* relname, char* path) {
|
|||
|
||||
// get total and free space on current filesystem (in bytes)
|
||||
//
|
||||
int get_filesystem_info(double &total_space, double &free_space, char* path) {
|
||||
#ifdef _WIN32
|
||||
int get_filesystem_info(double &total_space, double &free_space, char*) {
|
||||
char buf[256];
|
||||
boinc_getcwd(buf);
|
||||
FreeFn pGetDiskFreeSpaceEx;
|
||||
|
@ -709,6 +709,7 @@ int get_filesystem_info(double &total_space, double &free_space, char* path) {
|
|||
total_space = (double)dwTotalClusters * dwSectPerClust * dwBytesPerSect;
|
||||
}
|
||||
#else
|
||||
int get_filesystem_info(double &total_space, double &free_space, char* path) {
|
||||
#ifdef STATFS
|
||||
struct STATFS fs_info;
|
||||
|
||||
|
|
|
@ -165,7 +165,7 @@ int dup_element_contents(FILE* in, const char* end_tag, char** pp) {
|
|||
free(buf);
|
||||
return 0;
|
||||
}
|
||||
int n = strlen(line);
|
||||
int n = (int)strlen(line);
|
||||
if (nused + n >= bufsize) {
|
||||
bufsize *= 2;
|
||||
buf = (char*)realloc(buf, bufsize);
|
||||
|
|
Loading…
Reference in New Issue