# HG changeset patch # User michi_cc # Date 2009-10-04 21:39:12 # Node ID d3027809b1d1ef16a593c4e62e4b98342fb85085 # Parent f3616256bed2996889afdbc0bc2df1efa35d1923 (svn r17717) -Codechange: [OSX] Replace deprecated variable type. diff --git a/src/video/cocoa/fullscreen.mm b/src/video/cocoa/fullscreen.mm --- a/src/video/cocoa/fullscreen.mm +++ b/src/video/cocoa/fullscreen.mm @@ -466,7 +466,7 @@ public: { 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;