aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2004-06-13 06:08:09 +0000
committerhpa <hpa>2004-06-13 06:08:09 +0000
commitfef280ec860c45ac7a48f3653b9aa926a0a51298 (patch)
treed63a9d14d9050c885343cc2a09eff7a3b810fba0
parentfdc68217604abef76159a23f50acb5aa6dac211d (diff)
downloadsyslinux-elf-syslinux-2.10-pre6.tar.gz
syslinux-elf-syslinux-2.10-pre6.tar.xz
syslinux-elf-syslinux-2.10-pre6.zip
Fix missing "const"syslinux-2.10-pre6
-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 */