Changeset 7156


Ignore:
Timestamp:
03/18/12 18:33:54 (15 months ago)
Author:
cristy
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/MagickCore/channel.c

    r7155 r7156  
    358358        if (LocaleCompare(token,"alpha") == 0) 
    359359          (void) SetImageAlpha(destination_image,OpaqueAlpha,exception); 
    360         if (i >= GetPixelChannels(destination_image)) 
    361           SetPixelMetaChannels(destination_image,i- 
     360        if (i >= (ssize_t) GetPixelChannels(destination_image)) 
     361          (void) SetPixelMetaChannels(destination_image,i- 
    362362            GetPixelChannels(destination_image)+1,exception); 
    363363        GetMagickToken(p,&p,token); 
Note: See TracChangeset for help on using the changeset viewer.