summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2009-10-04 21:39:12 +0000
committermichi_cc <michi_cc@openttd.org>2009-10-04 21:39:12 +0000
commitd900b0d628b28195e33a888c6845365d2b7047bd (patch)
tree6bcc3fc64f53152cadab8939c594884ddd61e39a
parent6ad7440ae5b67f69e3ba7b255f192c8732db621d (diff)
downloadopenttd-d900b0d628b28195e33a888c6845365d2b7047bd.tar.xz
(svn r17717) -Codechange: [OSX] Replace deprecated variable type.
-rw-r--r--src/video/cocoa/fullscreen.mm2
1 files changed, 1 insertions, 1 deletions
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;