On Mon, 2009-06-22 at 23:53 -0400, Chris Ball wrote:
> http://tinderbox.x.org/builds/2009-06-23-0002/logs/pixman/#build
> 
> pixman-fast-path.c: In function 'Store24':
> pixman-fast-path.c:69: error: invalid operands to binary * (have 'int'
> and 'uint8_t *')
> 

The patch below fixes this.


diff --git a/pixman/pixman-fast-path.c b/pixman/pixman-fast-path.c
index 48c9a87..7d3f0c0 100644
--- a/pixman/pixman-fast-path.c
+++ b/pixman/pixman-fast-path.c
@@ -65,7 +65,7 @@ Store24 (uint8_t *a, uint32_t v)
     else
     {
 #ifdef WORDS_BIGENDIAN
-       *(uint16_t *)a = (uint16_t)(v >> 8)
+       *(uint16_t *)a = (uint16_t)(v >> 8);
        *(a + 2) = (uint8_t)v;
 #else
        *(uint16_t *)a = (uint16_t)v;


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer
_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to