summaryrefslogtreecommitdiff
path: root/gif_err.c
diff options
context:
space:
mode:
Diffstat (limited to 'gif_err.c')
-rw-r--r--gif_err.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gif_err.c b/gif_err.c
index 8de72a0..3ec2a56 100644
--- a/gif_err.c
+++ b/gif_err.c
@@ -12,10 +12,10 @@ gif_err.c - handle error reporting for the GIF library.
/*****************************************************************************
Return a string description of the last GIF error
*****************************************************************************/
-char *
+const char *
GifErrorString(int ErrorCode)
{
- char *Err;
+ const char *Err;
switch (ErrorCode) {
case E_GIF_ERR_OPEN_FAILED: