projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdc6821
)
Fix missing "const"
author
hpa
<hpa>
Sun, 13 Jun 2004 06:08:09 +0000
(06:08 +0000)
committer
hpa
<hpa>
Sun, 13 Jun 2004 06:08:09 +0000
(06:08 +0000)
syslxmod.c
patch
|
blob
|
history
diff --git
a/syslxmod.c
b/syslxmod.c
index
a5d9e79
..
5d385e5
100644
(file)
--- 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 */