GraphicsMagick: Make sure to use 'offset' for something useful s...

GraphicsMagick Commits <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.264.1641744486.1738.graphicsmagick-commit@lists.sourceforge.net>
changeset 881791124e2b in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=881791124e2b
summary: Make sure to use 'offset' for something useful so compiler does not complain.

diffstat:

 coders/cineon.c |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r 58b78e09b702 -r 881791124e2b coders/cineon.c
--- a/coders/cineon.c	Sun Jan 09 09:48:15 2022 -0600
+++ b/coders/cineon.c	Sun Jan 09 10:02:51 2022 -0600
@@ -1533,6 +1533,12 @@
                     cin_file_info.file_size,
                     (unsigned int) TellBlob(image));
     }
+  if ((magick_off_t) offset != TellBlob(image))
+    {
+      (void) printf("### Offset %lu, TellBlob says %u\n",
+                    (unsigned long) offset,
+                    (unsigned int) TellBlob(image));
+    }
 
   CloseBlob(image);
   return(status);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.