Ignore:
Timestamp:
Nov 10, 2005, 8:04:02 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • fixed 64 bit issues in palette::getquad and palette::fade_to.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/include/palette.hpp

    r2 r15  
    2828  void set(int x, unsigned char red, unsigned char green, unsigned char blue);
    2929  void get(int x, unsigned char &red, unsigned char &green, unsigned char &blue);
    30   long getquad(int x);
     30  uint32_t getquad(int x);
    3131  unsigned int red(int x) { return pal[x].red; }
    3232  unsigned int green(int x) { return pal[x].green; }
Note: See TracChangeset for help on using the changeset viewer.