summaryrefslogtreecommitdiffstatsci
path: root/src/cairo-tests/image-rotate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-tests/image-rotate.cpp')
-rw-r--r--src/cairo-tests/image-rotate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-tests/image-rotate.cpp b/src/cairo-tests/image-rotate.cpp
index 4acc2b4..c898bbc 100644
--- a/src/cairo-tests/image-rotate.cpp
+++ b/src/cairo-tests/image-rotate.cpp
@@ -44,8 +44,8 @@ ca_test_image_rotate(caskbench_context_t* ctx)
for (int i=0; i<ctx->size; i++) {
- double x = (double)rand()/RAND_MAX * pw;
- double y = (double)rand()/RAND_MAX * ph;
+ double x = (double)rnd()/RAND_MAX * pw;
+ double y = (double)rnd()/RAND_MAX * ph;
cairo_new_path(cr);
cairo_save(cr);