pixman: Branch 'master'

Siarhei Siamashka siamashka at kemper.freedesktop.org
Tue Jan 25 05:02:50 PST 2011


 pixman/pixman-fast-path.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b61ec0a6862ba101fff0afa082fb7490a0c44785
Author: Rolland Dudemaine <rolland at ghs.com>
Date:   Tue Jan 25 14:52:49 2011 +0200

    Correct the initialization of 'max_vx'
    
    http://lists.freedesktop.org/archives/pixman/2011-January/000937.html

diff --git a/pixman/pixman-fast-path.h b/pixman/pixman-fast-path.h
index b829030..069a282 100644
--- a/pixman/pixman-fast-path.h
+++ b/pixman/pixman-fast-path.h
@@ -265,7 +265,7 @@ fast_composite_scaled_nearest  ## scale_func_name (pixman_implementation_t *imp,
     dst_type_t *dst_line;									\
     src_type_t *src_first_line;									\
     int       y;										\
-    pixman_fixed_t max_vx = max_vx; /* suppress uninitialized variable warning */		\
+    pixman_fixed_t max_vx = INT32_MAX; /* suppress uninitialized variable warning */		\
     pixman_fixed_t max_vy;									\
     pixman_vector_t v;										\
     pixman_fixed_t vx, vy;									\


More information about the xorg-commit mailing list