summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2002-11-11 10:17:01 +0000
committermux <mux@FreeBSD.org>2002-11-11 10:17:01 +0000
commitcff6ce6fdbb99ec7edef3dc5dfcf83398a617b5f (patch)
tree1204937630dcf42f1d31aeaafab7abfdbbdd77e8 /sys/modules
parent5a90f3a531790e6fc909ad7e3ec78314d2e0a98a (diff)
downloadFreeBSD-src-cff6ce6fdbb99ec7edef3dc5dfcf83398a617b5f.zip
FreeBSD-src-cff6ce6fdbb99ec7edef3dc5dfcf83398a617b5f.tar.gz
Warning fix.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/splash/bmp/splash_bmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/splash/bmp/splash_bmp.c b/sys/modules/splash/bmp/splash_bmp.c
index 4db9cb6..e4cc520 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;
OpenPOWER on IntegriCloud