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;