Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
libinstaller: remove signed to unsigned cast in initialization
Signed-off-by: Pete Batard <pete@akeo.ie>
  • Loading branch information
pbatard authored and geneC committed Mar 9, 2016
1 parent 843180e commit 4abebfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libinstaller/syslxmod.c
Expand Up @@ -41,7 +41,8 @@ static void generate_extents(struct syslinux_extent _slimg *ex, int nptrs,
unsigned int len;

base = addr;
len = lba = 0;
len = 0;
lba = 0;

memset_sl(ex, 0, nptrs * sizeof *ex);

Expand Down

0 comments on commit 4abebfb

Please sign in to comment.