summaryrefslogtreecommitdiff
path: root/FL/Fl_GIF_Image.H
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2024-04-18 16:27:29 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2024-04-18 16:27:29 +0200
commit2c21e520f4859904739deb7d058b084f314ed47d (patch)
tree62f8f1a00d0c2086d28e58629239f4e48a3508ef /FL/Fl_GIF_Image.H
parent14a5187fa727e80a205e3c4fc84c892cc5c3e6e9 (diff)
Fix potential compiler warnings in public headers [-Wshadow]
These warnings would be issued if users compiled their programs with diagnostics '-Wshadow' turned on using gcc, clang, and maybe other compilers.
Diffstat (limited to 'FL/Fl_GIF_Image.H')
-rw-r--r--FL/Fl_GIF_Image.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_GIF_Image.H b/FL/Fl_GIF_Image.H
index e6994e688..51562e10e 100644
--- a/FL/Fl_GIF_Image.H
+++ b/FL/Fl_GIF_Image.H
@@ -1,7 +1,7 @@
//
// GIF image header file for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2023 by Bill Spitzak and others.
+// Copyright 1998-2024 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -69,7 +69,7 @@ protected:
GIF_FRAME(int frame, uchar *data) : ifrm(frame), bptr(data) {}
GIF_FRAME(int frame, int W, int H, int fx, int fy, int fw, int fh, uchar *data) :
ifrm(frame), width(W), height(H), x(fx), y(fy), w(fw), h(fh), bptr(data) {}
- void disposal(int mode, int delay) { dispose = mode; this->delay = delay; }
+ void disposal(int mode, int time) { dispose = mode; this->delay = time; }
void colors(int nclrs, int bg, int tp) { clrs = nclrs; bkgd = bg; trans = tp; }
};