[prev in list] [next in list] [prev in thread] [next in thread] 

List:       graphicsmagick-commit
Subject:    [GM-commit] GraphicsMagick: Cleanup unwanted warnings in GCC in TGA module.
From:       GraphicsMagick Commits <graphicsmagick-commit () lists ! sourceforge ! net>
Date:       2022-10-18 17:58:24
Message-ID: mailman.5780.1666115916.1567.graphicsmagick-commit () lists ! sourceforge ! net
[Download RAW message or body]

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) &&


_______________________________________________
Graphicsmagick-commit mailing list
Graphicsmagick-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic