diff options
author | Slávek Banko <[email protected]> | 2015-07-08 23:17:54 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2015-07-09 09:21:26 +0200 |
commit | d457edb8e9adc208b76e526d875fc729494ce9c3 (patch) | |
tree | f297e19785a4010d705ce7518d525196350d3728 /kernel/kls_gif/fmt_codec_gif.cpp | |
parent | e9e345d94e06d3d692578a77af80b21d102c88ad (diff) | |
download | libksquirrel-d457edb8e9adc208b76e526d875fc729494ce9c3.tar.gz libksquirrel-d457edb8e9adc208b76e526d875fc729494ce9c3.zip |
Fix FTBFS on freebsd
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 7d97c1a5ed3cc47c38fca756081eb5c04e2d12e6)
Diffstat (limited to 'kernel/kls_gif/fmt_codec_gif.cpp')
-rw-r--r-- | kernel/kls_gif/fmt_codec_gif.cpp | 4 |
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) { |