From d900b0d628b28195e33a888c6845365d2b7047bd Mon Sep 17 00:00:00 2001 From: michi_cc Date: Sun, 4 Oct 2009 21:39:12 +0000 Subject: (svn r17717) -Codechange: [OSX] Replace deprecated variable type. --- src/video/cocoa/fullscreen.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/cocoa/fullscreen.mm b/src/video/cocoa/fullscreen.mm index 73ebfe416..435436b0e 100644 --- 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; -- cgit v1.2.3-70-g09d2