[syslinux:firmware] ldlinux: fix definition of 'Hidden'

syslinux-bot for Matt Fleming matt.fleming at intel.com
Thu Jun 20 06:51:19 PDT 2013

Commit-ID:  2bc937dd5dee042163d6c79f06d54b3b1c6da264
Gitweb:     http://www.syslinux.org/commit/2bc937dd5dee042163d6c79f06d54b3b1c6da264
Author:     Matt Fleming <matt.fleming at intel.com>
AuthorDate: Wed, 19 Jun 2013 16:35:15 +0100
Committer:  Matt Fleming <matt.fleming at intel.com>
CommitDate: Wed, 19 Jun 2013 16:35:15 +0100

ldlinux: fix definition of 'Hidden'

and fix this compiler warning,

core/ldlinux-c.c: In function ‘get_derivative_info’:
core/ldlinux-c.c:18:22: warning: assignment makes pointer from integer without a cast [enabled by default]

Signed-off-by: Matt Fleming <matt.fleming at intel.com>

 core/ldlinux-c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/ldlinux-c.c b/core/ldlinux-c.c
index 8c49e0e..0b9aa76 100644
--- a/core/ldlinux-c.c
+++ b/core/ldlinux-c.c
@@ -5,7 +5,7 @@
 extern uint8_t DriveNumber;
 extern far_ptr_t PartInfo;
 extern far_ptr_t OrigESDI;
-extern uint64_t Hidden;
+extern const uint64_t *Hidden;
 __export void get_derivative_info(union syslinux_derivative_info *di)

More information about the Syslinux-commits mailing list