diff options
Diffstat (limited to 'extlinux/main.c')
-rw-r--r-- | extlinux/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extlinux/main.c b/extlinux/main.c index aa226fe9..c3de190b 100644 --- a/extlinux/main.c +++ b/extlinux/main.c @@ -198,7 +198,7 @@ int get_geometry(int devfd, uint64_t totalbytes, struct hd_geometry *geo) * 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; |