Ignore:
Timestamp:
Jan 3, 2010, 7:13:32 PM (11 years ago)
Author:
rbri
Message:

DJVU plugin: djvulibre updated to version 3.5.22

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libdjvu/GPixmap.cpp

    r206 r280  
    5454//C- +------------------------------------------------------------------
    5555//
    56 // $Id: GPixmap.cpp,v 1.16 2007/03/25 20:48:32 leonb Exp $
    57 // $Name: release_3_5_19 $
     56// $Id: GPixmap.cpp,v 1.18 2009/02/18 07:26:25 leonb Exp $
     57// $Name: release_3_5_22 $
    5858
    5959#ifdef HAVE_CONFIG_H
     
    569569            if (grey)
    570570              {
    571                 p[x].g = p[x].b = p[x].r = ramp[read_integer(lookahead, bs)];
     571                p[x].g = p[x].b = p[x].r = ramp[(int)read_integer(lookahead, bs)];
    572572              }
    573573            else
    574574              {
    575                 p[x].r = ramp[read_integer(lookahead, bs)];
    576                 p[x].g = ramp[read_integer(lookahead, bs)];
    577                 p[x].b = ramp[read_integer(lookahead, bs)];
     575                p[x].r = ramp[(int)read_integer(lookahead, bs)];
     576                p[x].g = ramp[(int)read_integer(lookahead, bs)];
     577                p[x].b = ramp[(int)read_integer(lookahead, bs)];
    578578              }
    579579        }
     
    10941094  while (x < dmax)             
    10951095  {
    1096     d[x] = s[smax];
     1096    d[x] = s[smax-1];
    10971097    x++;
    10981098  }
Note: See TracChangeset for help on using the changeset viewer.