summaryrefslogtreecommitdiffstats
path: root/kernel/kls_gif
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-07-08 23:17:54 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-07-08 23:17:54 +0200
commit7d97c1a5ed3cc47c38fca756081eb5c04e2d12e6 (patch)
treebde1c642c528d96b00de7eef724e187738a35130 /kernel/kls_gif
parentaef0dd23e55dd3d8e57825ee832928cf3ce00cd4 (diff)
downloadlibksquirrel-7d97c1a5ed3cc47c38fca756081eb5c04e2d12e6.tar.gz
libksquirrel-7d97c1a5ed3cc47c38fca756081eb5c04e2d12e6.zip
Fix FTBFS on freebsd
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kernel/kls_gif')
-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) {