diff -r ea65a6afdc43 -r cb3f71b16e1a src/graph_gui.cpp --- a/src/graph_gui.cpp Thu Jan 11 10:58:53 2007 +0000 +++ b/src/graph_gui.cpp Thu Jan 11 11:05:01 2007 +0000 @@ -119,7 +119,7 @@ col_ptr = row_ptr; do { if (*col_ptr != INVALID_VALUE) { - mx = max64(mx, *col_ptr); + mx = max((uint64)mx, *col_ptr); } } while (col_ptr++, --num_x); } @@ -306,7 +306,7 @@ { const Player* p; uint excludebits = _legend_excludebits; - int nums; + byte nums; int mo,yr; // Exclude the players which aren't valid