[4230] Fix update region size in EPSON blizzard.
Revision: 4230
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4230 Author: balrog Date: 2008-04-22 02:52:38 +0000 (Tue, 22 Apr 2008)
Log Message:
-----------
Fix update region size in EPSON blizzard.
Modified Paths:
--------------
trunk/hw/blizzard_template.h
Modified: trunk/hw/blizzard_template.h
===================================================================
hw/blizzard_template.h +2 -2
@@ -51,11 +51,11 @@ const uint16_t *src, unsigned int width) {#if !defined(SWAP_WORDS ) &&DEPTH ==16 -memcpy (dest, src, width <<1 ); +memcpy (dest, src, width);#else uint16_t data;unsigned int r, g, b; -const uint16_t *end = (void *) src + width; +const uint16_t *end = (const void *) src + width;while (src < end) { data =lduw_raw (src ++); b = (data &0x1f ) <<3 ;