aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/exact-image/files/patch-codecs__gif.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/exact-image/files/patch-codecs__gif.cc b/graphics/exact-image/files/patch-codecs__gif.cc
index 17701a13c1c1..361e891e3c69 100644
--- a/graphics/exact-image/files/patch-codecs__gif.cc
+++ b/graphics/exact-image/files/patch-codecs__gif.cc
@@ -11,7 +11,7 @@
+#endif
+{
+#if GIFLIB_MAJOR >= 5
-+ char *Err = GifErrorString(ErrorCode);
++ const char *Err = GifErrorString(ErrorCode);
+#else
+ char *Err = GifErrorString();
+ int ErrorCode = GifError();