GraphicsMagick: coders/mat.c Cleanup one unneeded warning.
GraphicsMagick Commits <[email protected]> Sat, 16 Sep 2023 13:23:23 -0500
| Newsgroups | gmane.comp.video.graphicsmagick.cvs |
|---|---|
| Message-ID | <mailman.1168.1694888611.1961.graphicsmagick-commit@lists.sourceforge.net> |
changeset c00df76d60b5 in /hg/GraphicsMagick details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=c00df76d60b5 summary: coders/mat.c Cleanup one unneeded warning. diffstat: ChangeLog | 3 +++ coders/mat.c | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diffs (22 lines): diff -r f0bba104ee38 -r c00df76d60b5 ChangeLog --- a/ChangeLog Sat Sep 16 09:36:43 2023 -0500 +++ b/ChangeLog Sat Sep 16 20:22:59 2023 +0200 @@ -1,3 +1,6 @@ +2023-09-16 Fojtik Jaroslav <[email protected]> + * coders/mat.c Cleanup one unneeded warning. + 2023-09-16 Bob Friesenhahn <[email protected]> * VisualMagick/magick/magick_config.h.in: Update the copyright diff -r f0bba104ee38 -r c00df76d60b5 coders/mat.c --- a/coders/mat.c Sat Sep 16 09:36:43 2023 -0500 +++ b/coders/mat.c Sat Sep 16 20:22:59 2023 +0200 @@ -515,7 +515,7 @@ HDR.Type[3] = ldblk % 10; ldblk /= 10; /* T digit */ HDR.Type[2] = ldblk % 10; ldblk /= 10; /* P digit */ HDR.Type[1] = ldblk % 10; ldblk /= 10; /* O digit */ - HDR.Type[0] = ldblk; /* M digit */ + HDR.Type[0] = (unsigned char)ldblk; /* M digit */ if(HDR.Type[3]!=0) RET_CHECK(image); /* Data format */ if(HDR.Type[2]!=0) RET_CHECK(image); /* Always 0 */