diff options
author | Rolland Dudemaine <rolland@ghs.com> | 2011-01-25 14:52:49 +0200 |
---|---|---|
committer | Siarhei Siamashka <siarhei.siamashka@nokia.com> | 2011-01-25 14:55:24 +0200 |
commit | b61ec0a6862ba101fff0afa082fb7490a0c44785 (patch) | |
tree | 4c3315b1bbf967ab7c838f7af673e531dbba6efa | |
parent | e8a1b1c4e502ecbb70028bd5a86034bfe1b16997 (diff) |
Correct the initialization of 'max_vx'
http://lists.freedesktop.org/archives/pixman/2011-January/000937.html
-rw-r--r-- | pixman/pixman-fast-path.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pixman/pixman-fast-path.h b/pixman/pixman-fast-path.h index b8290305..069a2826 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; \ |