aboutsummaryrefslogtreecommitdiffstats
path: root/libinstaller/syslxmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'libinstaller/syslxmod.c')
-rw-r--r--libinstaller/syslxmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libinstaller/syslxmod.c b/libinstaller/syslxmod.c
index 6df753f6..bc75ecf0 100644
--- a/libinstaller/syslxmod.c
+++ b/libinstaller/syslxmod.c
@@ -244,7 +244,7 @@ static __noinline void set_64_sl(uint64_t * p, uint64_t v)
* Generate sector extents
*/
static void generate_extents(struct syslinux_extent *ex, int nptrs,
- sector_t *sectp, int nsect)
+ const sector_t *sectp, int nsect)
{
uint32_t addr = 0x7c00 + 2*SECTOR_SIZE;
uint32_t base;