src/graph_gui.cpp
changeset 5601 d58f82901b2f
parent 5587 167d9a91ef02
child 5609 dc6a58930ba4
--- 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