GraphicsMagick: Cleanup unwanted warnings in GCC in TGA module.

GraphicsMagick Commits <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.5780.1666115916.1567.graphicsmagick-commit@lists.sourceforge.net>
changeset 30b8d06f0fbf in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=30b8d06f0fbf
summary: Cleanup unwanted warnings in GCC in TGA module.

diffstat:

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

diffs (21 lines):

diff -r 7935ed35cc62 -r 30b8d06f0fbf coders/tga.c
--- a/coders/tga.c	Tue Oct 18 09:29:27 2022 -0500
+++ b/coders/tga.c	Tue Oct 18 19:58:03 2022 +0200
@@ -277,7 +277,7 @@
 }
 
 
-static int LoadHeaderTGA(TGAInfo *tga_info, Image *image, char *readbuffer)
+static int LoadHeaderTGA(TGAInfo *tga_info, Image *image, unsigned char *readbuffer)
 {
 static const size_t headersize = 15;
 size_t readbufferpos = 0;
@@ -304,7 +304,7 @@
 }
 
 
-static int ValidateHeaderTGA(TGAInfo *tga_info)
+static int ValidateHeaderTGA(const TGAInfo *tga_info)
 {
   if(((tga_info->image_type != TGAColormap) &&
            (tga_info->image_type != TGARGB) &&
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.