changeset 13210:53ed49be428d draft

(svn r17717) -Codechange: [OSX] Replace deprecated variable type.
author michi_cc <michi_cc@openttd.org>
date Sun, 04 Oct 2009 21:39:12 +0000
parents fb78f96e560a
children b355a1952f7b
files src/video/cocoa/fullscreen.mm
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/cocoa/fullscreen.mm
+++ b/src/video/cocoa/fullscreen.mm
@@ -466,7 +466,7 @@
 	{
 		if (this->display_depth != 8) return;
 
-		for (CGTableCount index = first_color; index < first_color + num_colors; index++) {
+		for (uint32_t index = first_color; index < first_color + num_colors; index++) {
 			/* Clamp colors between 0.0 and 1.0 */
 			CGDeviceColor color;
 			color.red   = _cur_palette[index].r / 255.0;