projects
/
profile
/
ivi
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9882d83
)
test: Fix compilation on win32
author
Andrea Canciani
<ranma42@gmail.com>
Sun, 4 Sep 2011 18:07:57 +0000
(20:07 +0200)
committer
Andrea Canciani
<ranma42@gmail.com>
Wed, 14 Sep 2011 14:02:59 +0000
(07:02 -0700)
Adding scaling-helpers-test to the testsuite on win32 makes MSVC
complain about int64_t being used as an expression:
scaling-helpers-test.c(27) : error C2275: 'int64_t' : illegal use of
this type as an expression
test/scaling-helpers-test.c
patch
|
blob
|
history
diff --git
a/test/scaling-helpers-test.c
b/test/scaling-helpers-test.c
index
a38cac5
..
eb436d1
100644
(file)
--- a/
test/scaling-helpers-test.c
+++ b/
test/scaling-helpers-test.c
@@
-20,12
+20,12
@@
bilinear_pad_repeat_get_scanline_bounds_ref (int32_t source_image_width,
int32_t * right_pad)
{
int w = *width;
+ int64_t vx = vx_;
*left_pad = 0;
*left_tz = 0;
*width = 0;
*right_tz = 0;
*right_pad = 0;
- int64_t vx = vx_;
while (--w >= 0)
{
if (vx < 0)