summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2011-09-04 20:07:57 +0200
committerAndrea Canciani <ranma42@gmail.com>2011-09-14 07:02:59 -0700
commit25bd96a3d0e935646d54c938bf065696d3a79e07 (patch)
tree6209b53ecef0ab58d6e46b3770fbc73434395bbd
parent9882d832f60419094c0b379b88fa344490ea36eb (diff)
test: Fix compilation on win32
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
-rw-r--r--test/scaling-helpers-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scaling-helpers-test.c b/test/scaling-helpers-test.c
index a38cac5..eb436d1 100644
--- 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)