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/imlib/filter.cpp

    r2 r17  
    172172{
    173173  fp->seek(e->offset,0);
    174   fp->read_short();
     174  fp->read_uint16();
    175175  int colors=32;
    176176  color_table=(unsigned char *)jmalloc(colors*colors*colors,"color_filter : loaded");
     
    187187{
    188188  int colors=32;
    189   fp->write_short(colors);
     189  fp->write_uint16(colors);
    190190  return fp->write(color_table,colors*colors*colors)==colors*colors*colors;
    191191}
     
    220220  screen->add_dirty(x,y,x+xl-1,y+yl-1);
    221221
    222   uchar *pg1=screen->scan_line(y),*source,*dest;
    223   uchar *pg2=im->scan_line(y1);
     222  uint8_t *pg1=screen->scan_line(y),*source,*dest;
     223  uint8_t *pg2=im->scan_line(y1);
    224224  int i;
    225225  for (int j=0;j<yl;j++)       
Note: See TracChangeset for help on using the changeset viewer.