Fix build errors

This commit is contained in:
David Anderson 2015-01-16 09:29:49 -08:00
parent e6607a6340
commit 55a998fc01
2 changed files with 3 additions and 1 deletions

View File

@ -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);

View File

@ -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;