projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b23fa04
)
hdt: Honor syslinux_version const qualifier
author
Pierre-Alexandre Meyer
<pierre@mouraf.org>
Sat, 14 Mar 2009 22:52:09 +0000
(15:52 -0700)
committer
Pierre-Alexandre Meyer
<pierre@mouraf.org>
Sat, 14 Mar 2009 22:52:09 +0000
(15:52 -0700)
Impact: Fix compilation warning
syslinux_version returns a const pointer to a syslinux_version struct.
This fixes a compilation warning.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/hdt/hdt-common.h
patch
|
blob
|
history
diff --git
a/com32/hdt/hdt-common.h
b/com32/hdt/hdt-common.h
index
bcfe433
..
9293ec0
100644
(file)
--- a/
com32/hdt/hdt-common.h
+++ b/
com32/hdt/hdt-common.h
@@
-115,7
+115,7
@@
struct s_hardware {
bool vesa_detection;/* Does the vesa sutff have been already detected? */
char syslinux_fs[22];
- struct syslinux_version *sv;
+
const
struct syslinux_version *sv;
char modules_pcimap_path[255];
char pciids_path[255];
};