summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5/hdfgifwr.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2021-04-05 22:35:03 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2021-04-05 22:35:03 (GMT)
commit4402e696e43e4428a37953edbfd67c448ba93ac1 (patch)
treeb2cffca0aa461b4e0440d18cfc16cab9258e98d7 /hl/tools/gif2h5/hdfgifwr.c
parent4d459e1cebb8b4ba3e74054ac5501603dc2698c2 (diff)
downloadhdf5-4402e696e43e4428a37953edbfd67c448ba93ac1.zip
hdf5-4402e696e43e4428a37953edbfd67c448ba93ac1.tar.gz
hdf5-4402e696e43e4428a37953edbfd67c448ba93ac1.tar.bz2
Normalized high-level library with develop
Diffstat (limited to 'hl/tools/gif2h5/hdfgifwr.c')
-rw-r--r--hl/tools/gif2h5/hdfgifwr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/hl/tools/gif2h5/hdfgifwr.c b/hl/tools/gif2h5/hdfgifwr.c
index 333c808..21b14d1 100644
--- a/hl/tools/gif2h5/hdfgifwr.c
+++ b/hl/tools/gif2h5/hdfgifwr.c
@@ -135,8 +135,8 @@ static int EOFCode;
/*************************************************************/
int
-hdfWriteGIF(FILE *fp, byte *pic, int ptype, int w, int h, byte *rmap, byte *gmap, byte *bmap, byte *pc2ncmap,
- int numcols, int colorstyle, int BitsPerPixel)
+hdfWriteGIF(FILE *fp, byte *pic, int ptype, int w, int h, const byte *rmap, const byte *gmap,
+ const byte *bmap, const byte *pc2ncmap, int numcols, int colorstyle, int BitsPerPixel)
{
int InitCodeSize;
int i;
@@ -152,12 +152,12 @@ hdfWriteGIF(FILE *fp, byte *pic, int ptype, int w, int h, byte *rmap, byte *gmap
}
/* Shut compiler up... */
- ptype = ptype;
- rmap = rmap;
- gmap = gmap;
- bmap = bmap;
- numcols = numcols;
- colorstyle = colorstyle;
+ (void)ptype;
+ (void)rmap;
+ (void)gmap;
+ (void)bmap;
+ (void)numcols;
+ (void)colorstyle;
for (i = 0; i < 256; i++) {
pc2nc[i] = pc2ncmap[i];