From 97be736acabd932144e9ff0f3a5831fc1d1310dd Mon Sep 17 00:00:00 2001 From: Maxime Henrion Date: Mon, 11 Nov 2002 10:17:01 +0000 Subject: Warning fix. --- sys/dev/fb/splash_bmp.c | 4 ++-- sys/modules/splash/bmp/splash_bmp.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys') diff --git a/sys/dev/fb/splash_bmp.c b/sys/dev/fb/splash_bmp.c index 4db9cb617a48..e4cc5203e8a4 100644 --- a/sys/dev/fb/splash_bmp.c +++ b/sys/dev/fb/splash_bmp.c @@ -50,7 +50,7 @@ static int splash_on = FALSE; static int bmp_start(video_adapter_t *adp); static int bmp_end(video_adapter_t *adp); static int bmp_splash(video_adapter_t *adp, int on); -static int bmp_Init(const char *data, int swidth, int sheight, int sdepth); +static int bmp_Init(char *data, int swidth, int sheight, int sdepth); static int bmp_Draw(video_adapter_t *adp); static splash_decoder_t bmp_decoder = { @@ -509,7 +509,7 @@ bmp_DecodeLine(BMP_INFO *info, int line) ** can work with these. */ static int -bmp_Init(const char *data, int swidth, int sheight, int sdepth) +bmp_Init(char *data, int swidth, int sheight, int sdepth) { BITMAPF *bmf = (BITMAPF *)data; int pind; diff --git a/sys/modules/splash/bmp/splash_bmp.c b/sys/modules/splash/bmp/splash_bmp.c index 4db9cb617a48..e4cc5203e8a4 100644 --- a/sys/modules/splash/bmp/splash_bmp.c +++ b/sys/modules/splash/bmp/splash_bmp.c @@ -50,7 +50,7 @@ static int splash_on = FALSE; static int bmp_start(video_adapter_t *adp); static int bmp_end(video_adapter_t *adp); static int bmp_splash(video_adapter_t *adp, int on); -static int bmp_Init(const char *data, int swidth, int sheight, int sdepth); +static int bmp_Init(char *data, int swidth, int sheight, int sdepth); static int bmp_Draw(video_adapter_t *adp); static splash_decoder_t bmp_decoder = { @@ -509,7 +509,7 @@ bmp_DecodeLine(BMP_INFO *info, int line) ** can work with these. */ static int -bmp_Init(const char *data, int swidth, int sheight, int sdepth) +bmp_Init(char *data, int swidth, int sheight, int sdepth) { BITMAPF *bmf = (BITMAPF *)data; int pind; -- cgit v1.3