From d457edb8e9adc208b76e526d875fc729494ce9c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 8 Jul 2015 23:17:54 +0200 Subject: Fix FTBFS on freebsd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 7d97c1a5ed3cc47c38fca756081eb5c04e2d12e6) --- kernel/kls_gif/fmt_codec_gif.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel/kls_gif/fmt_codec_gif.cpp') 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) { -- cgit v1.2.1