From 53e0e4af12fd8850aaf3c9793c0edce2e80ab5cc Mon Sep 17 00:00:00 2001 From: cristy Date: Fri, 18 Feb 2011 02:55:20 +0000 Subject: [PATCH] --- ChangeLog | 1 + magick/blob.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 50b00f837..fe844811d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,7 @@ 2011-02-14 6.6.7-8 Cristy * Use implicit image format when explicit format is bogus (e.g. 02.13.11-18:43:58.png now writes as PNG). + * Fix problem with 4GB file seeks on a 32-bit OS. 2011-02-13 6.6.7-7 Anthony Thyssen * Fixed Variable blur to handle small (< 1.0 sigma) blurs generated diff --git a/magick/blob.c b/magick/blob.c index 6114cc208..a3adbc26c 100644 --- a/magick/blob.c +++ b/magick/blob.c @@ -3517,7 +3517,7 @@ MagickExport MagickOffsetType SeekBlob(Image *image, break; case FileStream: { - if (fseek(image->blob->file,(long) offset,whence) < 0) + if (fseek(image->blob->file,offset,whence) < 0) return(-1); image->blob->offset=TellBlob(image); break; -- 2.40.0