hdt: Honor syslinux_version const qualifier
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Sat, 14 Mar 2009 22:52:09 +0000 (15:52 -0700)
committerPierre-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

index bcfe433..9293ec0 100644 (file)
@@ -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];
 };