~cosme/ubuntu/precise/freeimage/freeimage-3.15.1

« back to all changes in this revision

Viewing changes to Source/FreeImage/FreeImageIO.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Cosme Domínguez Díaz
  • Date: 2010-07-20 13:42:15 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100720134215-xt1454zaedv3b604
Tags: 3.13.1-0ubuntu1
* New upstream release. Closes: (LP: #607800)
 - Updated debian/freeimage-get-orig-source script.
 - Removing no longer necessary debian/patches/* and
   the patch system in debian/rules.
 - Updated debian/rules to work with the new Makefiles.
 - Drop from -O3 to -O2 and use lzma compression saves
   ~10 MB of free space. 
* lintian stuff
 - fixed debhelper-but-no-misc-depends
 - fixed ldconfig-symlink-missing-for-shlib

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
unsigned DLL_CALLCONV 
29
29
_ReadProc(void *buffer, unsigned size, unsigned count, fi_handle handle) {
30
 
        return fread(buffer, size, count, (FILE *)handle);
 
30
        return (unsigned)fread(buffer, size, count, (FILE *)handle);
31
31
}
32
32
 
33
33
unsigned DLL_CALLCONV 
34
34
_WriteProc(void *buffer, unsigned size, unsigned count, fi_handle handle) {
35
 
        return fwrite(buffer, size, count, (FILE *)handle);
 
35
        return (unsigned)fwrite(buffer, size, count, (FILE *)handle);
36
36
}
37
37
 
38
38
int DLL_CALLCONV