Enlightenment CVS committal Author : barbieri Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/modules/engines/software_16 Modified Files: evas_soft16_scanline_fill.c Log Message: Fix access of unaligned memory. =================================================================== RCS file: /cvs/e/e17/libs/evas/src/modules/engines/software_16/evas_soft16_scanline_fill.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- evas_soft16_scanline_fill.c 25 Oct 2007 16:17:19 -0000 1.3 +++ evas_soft16_scanline_fill.c 29 Oct 2007 22:16:41 -0000 1.4 @@ -23,6 +23,14 @@ DATA32 rgb565_double; start = dst; + + if ((long)start & 0x2) + { + *start = rgb565; + start++; + size--; + } + end = start + (size & ~7); rgb565_double = (rgb565 << 16) | rgb565; ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs