1
0
Fork 0

(svn r17717) -Codechange: [OSX] Replace deprecated variable type.

release/1.0
michi_cc 2009-10-04 21:39:12 +00:00
parent 6ad7440ae5
commit d900b0d628
1 changed files with 1 additions and 1 deletions

View File

@ -466,7 +466,7 @@ public:
{ {
if (this->display_depth != 8) return; 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 */ /* Clamp colors between 0.0 and 1.0 */
CGDeviceColor color; CGDeviceColor color;
color.red = _cur_palette[index].r / 255.0; color.red = _cur_palette[index].r / 255.0;