summaryrefslogtreecommitdiff
path: root/test/scaling-helpers-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/scaling-helpers-test.c')
-rw-r--r--test/scaling-helpers-test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/scaling-helpers-test.c b/test/scaling-helpers-test.c
index 33ec47c..a706020 100644
--- a/test/scaling-helpers-test.c
+++ b/test/scaling-helpers-test.c
@@ -56,10 +56,10 @@ main (void)
{
int32_t left_pad1, left_tz1, width1, right_tz1, right_pad1;
int32_t left_pad2, left_tz2, width2, right_tz2, right_pad2;
- pixman_fixed_t vx = lcg_rand_N(10000 << 16) - (3000 << 16);
- int32_t width = lcg_rand_N(10000);
- int32_t source_image_width = lcg_rand_N(10000) + 1;
- pixman_fixed_t unit_x = lcg_rand_N(10 << 16) + 1;
+ pixman_fixed_t vx = prng_rand_N(10000 << 16) - (3000 << 16);
+ int32_t width = prng_rand_N(10000);
+ int32_t source_image_width = prng_rand_N(10000) + 1;
+ pixman_fixed_t unit_x = prng_rand_N(10 << 16) + 1;
width1 = width2 = width;
bilinear_pad_repeat_get_scanline_bounds_ref (source_image_width,