% MagickCore Cipher Methods %
% %
% Software Design %
-% John Cristy %
+% Cristy %
% March 2003 %
% %
% %
-% Copyright 1999-2012 ImageMagick Studio LLC, a non-profit organization %
+% Copyright 1999-2014 ImageMagick Studio LLC, a non-profit organization %
% dedicated to making software imaging solutions freely available. %
% %
% You may not use this file except in compliance with the License. You may %
(void) CopyMagickMemory(output_block,input_block,AESBlocksize*
sizeof(*output_block));
EncipherAESBlock(aes_info,output_block,output_block);
- for (i=0; x < length; x++)
+ for (i=0; x < (ssize_t) length; x++)
{
p[i]^=output_block[i];
i++;
(void) CopyMagickMemory(output_block,input_block,AESBlocksize*
sizeof(*output_block));
EncipherAESBlock(aes_info,output_block,output_block);
- for (i=0; x < length; x++)
+ for (i=0; x < (ssize_t) length; x++)
{
p[i]^=output_block[i];
i++;