diff options
author | Joris Van Damme <joris.at.lebbeke@skynet.be> | 2007-07-11 15:52:48 +0000 |
---|---|---|
committer | Joris Van Damme <joris.at.lebbeke@skynet.be> | 2007-07-11 15:52:48 +0000 |
commit | c4bddab560793471683b19d9fd440844e95f1bf9 (patch) | |
tree | 79c506c135ddad443aa1a319be389b1d25dce267 /libtiff/tif_close.c | |
parent | d83d6100fd2f0f0ddf2f063eb3caf07f13a1ba54 (diff) | |
download | libtiff-git-c4bddab560793471683b19d9fd440844e95f1bf9.tar.gz |
BigTIFF upgrade: restoration of mapping functions protocol
Diffstat (limited to 'libtiff/tif_close.c')
-rw-r--r-- | libtiff/tif_close.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtiff/tif_close.c b/libtiff/tif_close.c index 6275c355..324423b0 100644 --- a/libtiff/tif_close.c +++ b/libtiff/tif_close.c @@ -1,4 +1,4 @@ -/* $Id: tif_close.c,v 1.14 2007-07-10 11:52:02 dron Exp $ */ +/* $Id: tif_close.c,v 1.15 2007-07-11 15:52:48 joris Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -69,7 +69,7 @@ TIFFCleanup(TIFF* tif) if (tif->tif_rawdata && (tif->tif_flags&TIFF_MYBUFFER)) _TIFFfree(tif->tif_rawdata); if (isMapped(tif)) - TIFFUnmapFileContents(tif, tif->tif_base, tif->tif_size); + TIFFUnmapFileContents(tif, tif->tif_base, (toff_t)tif->tif_size); /* Clean up custom fields */ if (tif->tif_nfields > 0) |