Parcourir la source

Fix compilation problem in common/cmd_bmp.c

common/cmd_bmp.c fails to compile if CONFIG_VIDEO_BMP_GZIP
isn't defined. This patch fix this.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Anatolij Gustschin il y a 17 ans
Parent
commit
5ba7390c3c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      common/cmd_bmp.c

+ 1 - 1
common/cmd_bmp.c

@@ -85,7 +85,7 @@ static bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp)
 	return bmp;
 }
 #else
-static bmp_image_t *gunzip_bmp(unsigned long addr)
+static bmp_image_t *gunzip_bmp(unsigned long addr, unsigned long *lenp)
 {
 	return NULL;
 }