summaryrefslogtreecommitdiffstats
path: root/kernel/kls_gif/fmt_codec_gif.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kls_gif/fmt_codec_gif.cpp')
-rw-r--r--kernel/kls_gif/fmt_codec_gif.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kls_gif/fmt_codec_gif.cpp b/kernel/kls_gif/fmt_codec_gif.cpp
index a4981bf..33d13e7 100644
--- a/kernel/kls_gif/fmt_codec_gif.cpp
+++ b/kernel/kls_gif/fmt_codec_gif.cpp
@@ -50,9 +50,9 @@ static void PrintGifError(void)
#endif
{
#if defined(GIFLIB_MAJOR) && GIFLIB_MAJOR > 4
- char *Err = GifErrorString(ErrorCode);
+ const char *Err = GifErrorString(ErrorCode);
#else
- char *Err = GifErrorString();
+ const char *Err = GifErrorString();
#endif
if (Err != NULL) {