diff options
author | Matt Fleming <matt.fleming@intel.com> | 2013-01-07 14:42:16 +0000 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-01-07 20:29:16 +0000 |
commit | 15a67011987c341814533ac4d8e23c9a72dc7605 (patch) | |
tree | e0fda9dab4fd8ce8043a4d6b3f6cce23e0e7f518 /core/bios.c | |
parent | 714e64ac377a158960abe85035b275c71325530e (diff) | |
download | syslinux-15a67011987c341814533ac4d8e23c9a72dc7605.tar.gz |
vesa: Correct screencpy() prototype
The 'src' argument should actually be const char * because the BIOS
code performs pointer arithmetic on it.
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 7b41f398..d0ceffc7 100644 --- a/core/bios.c +++ b/core/bios.c @@ -414,7 +414,7 @@ static void set_window_pos(struct win_info *wi, size_t win_pos) __intcall(0x10, &ireg, NULL); } -static void bios_vesacon_screencpy(size_t dst, const uint32_t * src, +static void bios_vesacon_screencpy(size_t dst, const char * src, size_t bytes, struct win_info *wi) { size_t win_pos, win_off; |