Commit be6e0f20 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(strerror): Added a cast to avoid a warning.

parent 47c67e61
/*
* $Id: strerror.c,v 0.15 1995/01/01 20:17:11 ceder Exp $
* $Id: strerror.c,v 0.16 1995/11/02 20:19:24 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -26,7 +26,7 @@
** strerror.c
*/
static char *rcsid = "$Id: strerror.c,v 0.15 1995/01/01 20:17:11 ceder Exp $";
static char *rcsid = "$Id: strerror.c,v 0.16 1995/11/02 20:19:24 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -48,5 +48,5 @@ char *strerror(int eno)
return buf;
}
else
return sys_errlist[eno];
return (char*)sys_errlist[eno];
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment