summaryrefslogtreecommitdiffstats
path: root/sys/modules/splash
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2002-11-11 10:28:44 +0000
committermux <mux@FreeBSD.org>2002-11-11 10:28:44 +0000
commitb45f2ba21c6efa0d64b6e3127d94208bff8e29bc (patch)
tree139af0d3db30bd1018f610f0f73eb991c86f7b76 /sys/modules/splash
parentcff6ce6fdbb99ec7edef3dc5dfcf83398a617b5f (diff)
downloadFreeBSD-src-b45f2ba21c6efa0d64b6e3127d94208bff8e29bc.zip
FreeBSD-src-b45f2ba21c6efa0d64b6e3127d94208bff8e29bc.tar.gz
Warning fixes.
Diffstat (limited to 'sys/modules/splash')
-rw-r--r--sys/modules/splash/pcx/splash_pcx.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/modules/splash/pcx/splash_pcx.c b/sys/modules/splash/pcx/splash_pcx.c
index 544e8c7..04dea64 100644
--- a/sys/modules/splash/pcx/splash_pcx.c
+++ b/sys/modules/splash/pcx/splash_pcx.c
@@ -47,7 +47,7 @@ static int splash_on = FALSE;
static int pcx_start(video_adapter_t *adp);
static int pcx_end(video_adapter_t *adp);
static int pcx_splash(video_adapter_t *adp, int on);
-static int pcx_init(const char *data, int sdepth);
+static int pcx_init(char *data, int sdepth);
static int pcx_draw(video_adapter_t *adp);
static splash_decoder_t pcx_decoder = {
@@ -60,7 +60,8 @@ static struct
{
int width, height, bpsl;
int bpp, planes, zlen;
- const u_char *zdata, *palette;
+ const u_char *zdata;
+ u_char *palette;
} pcx_info;
static int
@@ -158,7 +159,7 @@ struct pcxheader {
#define MAXSCANLINE 1024
static int
-pcx_init(const char *data, int size)
+pcx_init(char *data, int size)
{
const struct pcxheader *hdr;
OpenPOWER on IntegriCloud