aboutsummaryrefslogtreecommitdiffstats
path: root/libinstaller
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-06-15 16:26:14 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-06-15 16:26:14 -0700
commit66f58cb7dc6818aa45974231b90424281311658f (patch)
tree2a1e13d90a5aaa18e9bca1f9f46b84a87b83879a /libinstaller
parentcbc69de20a19cbac90372fd7cbdaac00d1bbfa11 (diff)
downloadsyslinux-66f58cb7dc6818aa45974231b90424281311658f.tar.gz
syslinux-66f58cb7dc6818aa45974231b90424281311658f.tar.xz
syslinux-66f58cb7dc6818aa45974231b90424281311658f.zip
Fix prototype for generate_extents
Add missing const Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'libinstaller')
-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;