From c4bddab560793471683b19d9fd440844e95f1bf9 Mon Sep 17 00:00:00 2001 From: Joris Van Damme Date: Wed, 11 Jul 2007 15:52:48 +0000 Subject: BigTIFF upgrade: restoration of mapping functions protocol --- libtiff/tif_unix.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libtiff/tif_unix.c') diff --git a/libtiff/tif_unix.c b/libtiff/tif_unix.c index 14984018..2aa52940 100644 --- a/libtiff/tif_unix.c +++ b/libtiff/tif_unix.c @@ -1,4 +1,4 @@ -/* $Id: tif_unix.c,v 1.19 2007-06-28 22:23:49 bfriesen Exp $ */ +/* $Id: tif_unix.c,v 1.20 2007-07-11 15:52:48 joris Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -111,7 +111,7 @@ _tiffSizeProc(thandle_t fd) #include static int -_tiffMapProc(thandle_t fd, void** pbase, tmsize_t* psize) +_tiffMapProc(thandle_t fd, void** pbase, toff_t* psize) { uint64 size64 = _tiffSizeProc(fd); tmsize_t sizem = (tmsize_t)size64; @@ -127,21 +127,21 @@ _tiffMapProc(thandle_t fd, void** pbase, tmsize_t* psize) } static void -_tiffUnmapProc(thandle_t fd, void* base, tmsize_t size) +_tiffUnmapProc(thandle_t fd, void* base, toff_t size) { (void) fd; (void) munmap(base, (off_t) size); } #else /* !HAVE_MMAP */ static int -_tiffMapProc(thandle_t fd, void** pbase, tmsize_t* psize) +_tiffMapProc(thandle_t fd, void** pbase, toff_t* psize) { (void) fd; (void) pbase; (void) psize; return (0); } static void -_tiffUnmapProc(thandle_t fd, void* base, tmsize_t size) +_tiffUnmapProc(thandle_t fd, void* base, toff_t size) { (void) fd; (void) base; (void) size; } -- cgit v1.2.1