aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--syslxmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/syslxmod.c b/syslxmod.c
index a5d9e795..5d385e55 100644
--- a/syslxmod.c
+++ b/syslxmod.c
@@ -104,7 +104,7 @@ int syslinux_check_bootsect(const void *bs, const char *device)
{
int veryold;
unsigned int sectors, clusters;
- unsigned char *sectbuf = bs;
+ const unsigned char *sectbuf = bs;
if ( sectbuf[bsBootSignature] == 0x29 ) {
/* It's DOS, and it has all the new nice fields */