diff options
author | Matt Fleming <matt.fleming@intel.com> | 2013-06-19 16:04:47 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-06-19 16:04:47 +0100 |
commit | 17bb7fc8d7f7a3c5daf21f61aaa1663805cafa92 (patch) | |
tree | d230a5514137fa0b09678da60671dda4cc748389 /core/bios.c | |
parent | 8de6b5aa8bf1e01c9cf183ed414c755d4f263f03 (diff) | |
download | syslinux-17bb7fc8d7f7a3c5daf21f61aaa1663805cafa92.tar.gz |
firmware: correct the get_cursor() argument types
We only ever pass uint8_t * to get_cursor(), so update the prototypes
and fix the following compiler warnings,
In function ‘__ansicon_open’:
com32/lib/sys/ansicon_write.c:93:6: warning: passing argument 1 of ‘firmware->o_ops->get_cursor’ from incompatible pointer type [enabled by default]
com32/lib/sys/ansicon_write.c:93:6: note: expected ‘int *’ but argument is of type ‘uint8_t *’
com32/lib/sys/ansicon_write.c:93:6: warning: passing argument 2 of ‘firmware->o_ops->get_cursor’ from incompatible pointer type [enabled by default]
com32/lib/sys/ansicon_write.c:93:6: note: expected ‘int *’ but argument is of type ‘uint8_t *’
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'core/bios.c')
-rw-r--r-- | core/bios.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |