mirror of https://github.com/BOINC/boinc.git
Fix build errors
This commit is contained in:
parent
e6607a6340
commit
55a998fc01
|
@ -18,6 +18,8 @@
|
|||
#ifndef _GRAPHICS2_H_
|
||||
#define _GRAPHICS2_H_
|
||||
|
||||
struct BOINC_STATUS;
|
||||
|
||||
// Functions that must be supplied by the app
|
||||
//
|
||||
extern void app_graphics_render(int xs, int ys, double time_of_day);
|
||||
|
|
|
@ -432,7 +432,7 @@ void app_graphics_render(int xs, int ys, double t) {
|
|||
showing_project = false;
|
||||
project_index++;
|
||||
} else {
|
||||
int n = cc_state.results.size();
|
||||
int n = (int)cc_state.results.size();
|
||||
if (n) {
|
||||
job_index += MAX_JOBS_DISPLAY;
|
||||
job_index %= n;
|
||||
|
|
Loading…
Reference in New Issue