diff options
author | hpa <hpa> | 2004-06-13 06:08:09 +0000 |
---|---|---|
committer | hpa <hpa> | 2004-06-13 06:08:09 +0000 |
commit | fef280ec860c45ac7a48f3653b9aa926a0a51298 (patch) | |
tree | d63a9d14d9050c885343cc2a09eff7a3b810fba0 /syslxmod.c | |
parent | fdc68217604abef76159a23f50acb5aa6dac211d (diff) | |
download | syslinux-fef280ec860c45ac7a48f3653b9aa926a0a51298.tar.gz |
Fix missing "const"syslinux-2.10-pre6
Diffstat (limited to 'syslxmod.c')
-rw-r--r-- | syslxmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |