summaryrefslogtreecommitdiff
path: root/com32
diff options
context:
space:
mode:
Diffstat (limited to 'com32')
-rw-r--r--com32/include/syslinux/movebits.h2
-rw-r--r--com32/lib/syslinux/zonelist.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/com32/include/syslinux/movebits.h b/com32/include/syslinux/movebits.h
index f35418f9..4a4ce9ef 100644
--- a/com32/include/syslinux/movebits.h
+++ b/com32/include/syslinux/movebits.h
@@ -83,7 +83,7 @@ enum syslinux_memmap_types syslinux_memmap_type(struct syslinux_memmap *list,
int syslinux_memmap_largest(struct syslinux_memmap *list,
enum syslinux_memmap_types type,
addr_t * start, addr_t * len);
-int syslinux_memmap_highest(struct syslinux_memmap *list,
+int syslinux_memmap_highest(const struct syslinux_memmap *list,
enum syslinux_memmap_types types,
addr_t *start, addr_t len,
addr_t ceiling, addr_t align);
diff --git a/com32/lib/syslinux/zonelist.c b/com32/lib/syslinux/zonelist.c
index 337eb867..dbc874c5 100644
--- a/com32/lib/syslinux/zonelist.c
+++ b/com32/lib/syslinux/zonelist.c
@@ -227,7 +227,7 @@ int syslinux_memmap_largest(struct syslinux_memmap *list,
*
* Returns -1 on failure.
*/
-int syslinux_memmap_highest(struct syslinux_memmap *list,
+int syslinux_memmap_highest(const struct syslinux_memmap *list,
enum syslinux_memmap_types type,
addr_t *start, addr_t len,
addr_t ceiling, addr_t align)