aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--com32/include/syslinux/firmware.h2
-rw-r--r--core/bios.c2
-rw-r--r--efi/main.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/com32/include/syslinux/firmware.h b/com32/include/syslinux/firmware.h
index 13ba1591..636faeaa 100644
--- a/com32/include/syslinux/firmware.h
+++ b/com32/include/syslinux/firmware.h
@@ -14,7 +14,7 @@ struct output_ops {
void (*beep) (void);
void (*get_mode)(int *, int *);
void (*set_mode)(uint16_t);
- void (*get_cursor)(int *, int *);
+ void (*get_cursor)(uint8_t *, uint8_t *);
};
struct input_ops {
diff --git a/core/bios.c b/core/bios.c
index 3972e00c..c6768204 100644
--- a/core/bios.c
+++ b/core/bios.c
@@ -34,7 +34,7 @@ static void bios_get_mode(int *cols, int *rows)
static uint16_t cursor_type; /* Saved cursor pattern */
-static void bios_get_cursor(int *x, int *y)
+static void bios_get_cursor(uint8_t *x, uint8_t *y)
{
com32sys_t ireg, oreg;
diff --git a/efi/main.c b/efi/main.c
index 16810acd..ae7ae05f 100644
--- a/efi/main.c
+++ b/efi/main.c
@@ -254,7 +254,7 @@ static void efi_set_mode(uint16_t mode)
{
}
-static void efi_get_cursor(int *x, int *y)
+static void efi_get_cursor(uint8_t *x, uint8_t *y)
{
SIMPLE_TEXT_OUTPUT_INTERFACE *out = ST->ConOut;
*x = out->Mode->CursorColumn;