Ignore:
Timestamp:
Nov 10, 2005, 9:41:13 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • absolute shitloads of 64 bit fixes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/gamma.cpp

    r4 r17  
    220220        for( int i = 0; i < 256; i++ )
    221221        {
    222                 uchar oldr, oldg, oldb;
     222                uint8_t oldr, oldg, oldb;
    223223                old_pal->get( i, oldr, oldg, oldb );
    224224                pal->set( i, (int)( pow( oldr / 255.0, gamma ) * 255 ),
Note: See TracChangeset for help on using the changeset viewer.