From 552d7756c78943e92e2081b161d4b0b40f3346d5 Mon Sep 17 00:00:00 2001 From: Pierre-Alexandre Meyer Date: Sat, 14 Mar 2009 15:52:09 -0700 Subject: [PATCH] hdt: Honor syslinux_version const qualifier 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 --- com32/hdt/hdt-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com32/hdt/hdt-common.h b/com32/hdt/hdt-common.h index bcfe433..9293ec0 100644 --- 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]; }; -- 2.7.4