Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Mike Frysinger's avatar
    78e1e846
    bootm: fix pointer warning with lzma · 78e1e846
    Mike Frysinger authored
    
    Avoid warning:
    cmd_bootm.c: In function 'bootm_load_os':
    cmd_bootm.c:394: warning: passing argument 2 of
    	'lzmaBuffToBuffDecompress' from incompatible pointer type
    
    For 32 bit systems, this change shouldn't make a difference to code size
    since sizeof(size_t) and sizeof(unsigned int) are equal.  But it does fix
    the warning.
    
    Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
    78e1e846
    History
    bootm: fix pointer warning with lzma
    Mike Frysinger authored
    
    Avoid warning:
    cmd_bootm.c: In function 'bootm_load_os':
    cmd_bootm.c:394: warning: passing argument 2 of
    	'lzmaBuffToBuffDecompress' from incompatible pointer type
    
    For 32 bit systems, this change shouldn't make a difference to code size
    since sizeof(size_t) and sizeof(unsigned int) are equal.  But it does fix
    the warning.
    
    Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>