summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5/gif2hdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'hl/tools/gif2h5/gif2hdf.c')
-rw-r--r--hl/tools/gif2h5/gif2hdf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hl/tools/gif2h5/gif2hdf.c b/hl/tools/gif2h5/gif2hdf.c
index 9220655..161761c 100644
--- a/hl/tools/gif2h5/gif2hdf.c
+++ b/hl/tools/gif2h5/gif2hdf.c
@@ -26,8 +26,8 @@ main(int argv, char *argc[])
FILE *fpGif;
/* replacing int32 with long */
- long i, ImageCount;
- long filesize;
+ long i, ImageCount;
+ HDoff_t filesize;
GIFBYTE *MemGif;
GIFBYTE *StartPos;
@@ -71,7 +71,7 @@ main(int argv, char *argc[])
/* Get the whole file into memory. Mem's much faster than I/O */
fseek(fpGif, 0L, 2);
- filesize = ftell(fpGif);
+ filesize = HDftell(fpGif);
fseek(fpGif, 0L, 0);
if (filesize == 0)