[syslinux:master] libinstaller: remove signed to unsigned cast in initialization
syslinux-bot for Pete Batard
pete at akeo.ie
Wed Mar 9 03:48:05 PST 2016
Commit-ID: 4abebfbcafe90e65ecebabec530d52eddfd7ce3e
Gitweb: http://www.syslinux.org/commit/4abebfbcafe90e65ecebabec530d52eddfd7ce3e
Author: Pete Batard <pete at akeo.ie>
AuthorDate: Wed, 9 Mar 2016 06:36:13 -0500
Committer: Gene Cumm <gene.cumm at gmail.com>
CommitDate: Wed, 9 Mar 2016 06:38:18 -0500
libinstaller: remove signed to unsigned cast in initialization
Signed-off-by: Pete Batard <pete at akeo.ie>
---
libinstaller/syslxmod.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libinstaller/syslxmod.c b/libinstaller/syslxmod.c
index 0ec4164..7bf4d91 100644
--- a/libinstaller/syslxmod.c
+++ b/libinstaller/syslxmod.c
@@ -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);
More information about the Syslinux-commits
mailing list