From afd985f6eec18a0f66a8fc55f9c5e3431128310f Mon Sep 17 00:00:00 2001 From: Matt Fleming Date: Thu, 10 Jan 2013 11:22:56 +0000 Subject: Revert "vesa: Correct screencpy() prototype" This reverts commit 15a67011987c341814533ac4d8e23c9a72dc7605, because as Peter points out, The objects are uint32_t and so the prototype is correct. It should not "leak" outside the screencpy function that we play ugly tricks with these pointers; that is better handled by an internal cast. So do the necessary casting inside bios_vesacon_screencpy(). Cc: H. Peter Anvin Signed-off-by: Matt Fleming --- efi/vesa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'efi') diff --git a/efi/vesa.c b/efi/vesa.c index 87308fd5..e3e9e0f7 100644 --- a/efi/vesa.c +++ b/efi/vesa.c @@ -274,7 +274,7 @@ exit: return err; } -static void efi_vesacon_screencpy(size_t dst, const char *s, +static void efi_vesacon_screencpy(size_t dst, const uint32_t *s, size_t bytes, struct win_info *wi) { size_t win_off; -- cgit