~ubuntu-branches/ubuntu/oneiric/imagemagick/oneiric-updates

« back to all changes in this revision

Viewing changes to coders/thumbnail.c

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-06-15 11:05:28 UTC
  • mfrom: (6.2.11 sid)
  • Revision ID: james.westby@ubuntu.com-20110615110528-08jgo07a4846xh8d
Tags: 8:6.6.0.4-3ubuntu1
* Resynchronise with Debian (LP: #797595).  Remaining changes:
  - Make ufraw-batch (universe) a suggestion instead of a recommendation.
  - Make debian/rules install target depend on check; they cannot reliably
    be run in parallel.
  - Don't set MAKEFLAGS in debian/rules; just pass it to the build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
%
84
84
%  The format of the RegisterTHUMBNAILImage method is:
85
85
%
86
 
%      size_t RegisterTHUMBNAILImage(void)
 
86
%      unsigned long RegisterTHUMBNAILImage(void)
87
87
%
88
88
*/
89
 
ModuleExport size_t RegisterTHUMBNAILImage(void)
 
89
ModuleExport unsigned long RegisterTHUMBNAILImage(void)
90
90
{
91
91
  MagickInfo
92
92
    *entry;
166
166
  MagickBooleanType
167
167
    status;
168
168
 
169
 
  register ssize_t
 
169
  register long
170
170
    i;
171
171
 
172
172
  ssize_t
190
190
    ThrowWriterException(CoderError,"ImageDoesNotHaveAThumbnail");
191
191
  length=(size_t) StringToLong(property);
192
192
  (void) ResetMagickMemory(magick,0,sizeof(magick));
193
 
  for (i=0; i < (ssize_t) length; i++)
 
193
  for (i=0; i < (long) length; i++)
194
194
  {
195
195
    magick[0]=magick[1];
196
196
    magick[1]=magick[2];