GraphicsMagick: coders/wpg.c Make palette index to be uint16_t.

GraphicsMagick Commits <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.2032.1673799520.1507.graphicsmagick-commit@lists.sourceforge.net>
changeset d7379b3643da in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=d7379b3643da
summary: coders/wpg.c Make palette index to be uint16_t.

diffstat:

 coders/wpg.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8e548b406f26 -r d7379b3643da coders/wpg.c
--- a/coders/wpg.c	Sun Jan 15 16:49:43 2023 +0100
+++ b/coders/wpg.c	Sun Jan 15 17:18:03 2023 +0100
@@ -1994,7 +1994,7 @@
 	/* Palette */
   if(StoredPlanes>1)
   {
-    int i;
+    magick_uint16_t i;
     WriteBlobByte(image,0xE);
     i = 4+3*(1<<StoredPlanes);
     if(i<0xFF)
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.