Fix compilation problem in common/cmd_bmp.c
PATCH 1/1 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 <[email protected]>
--- common/cmd_bmp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
common/cmd_bmp.c +1 -1
@@ -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 ; }
Signature · 1 line
1.5.3.3
PATCH 1/1 Fix compilation problem in common/cmd_bmp.c
common/cmd_bmp.c static bmp_image_t *gunzip_bmp(unsigned long addr, · line 89
Quoted 7 lines · On Fri, 11 Jan 2008 02:15:02 +0100 Anatolij Gustschin <[email protected]> wrote:
common/cmd_bmp.c +1
-1@@ -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)
Ah, that's obviously correct. I guess I forgot to compile test with !CONFIG_VIDEO_BMP...sorry.
Haavard
Wolfgang Denk
AppliedPATCH 1/1 Fix compilation problem in common/cmd_bmp.c
In reply to Anatolij GustschinQuoted 5 lines · In message <[email protected]> you wrote:
common/cmd_bmp.cfails to compile ifCONFIG_VIDEO_BMP_GZIPisn't defined. This patch fix this.Signed-off-by Anatolij Gustschin <[email protected]>
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Well, the way I see it, logic is only a way of being ignorant by num- bers. - Terry Pratchett, _Small Gods_