summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorScott D Phillips <[email protected]>2018-06-05 09:29:43 -0700
committerScott D Phillips <[email protected]>2018-06-05 10:32:07 -0700
commit08535dd8860951ce4572cd2590e417a1f3d96b3d (patch)
treebd7d0f53a3cf5479abaf20c16dead12c26c5d3a3 /src
parent4b123fb74bae332df3ae52d276e5d63b1e6095ee (diff)
util/tests/vma: Fix warning c++11-narrowing
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106801 Fixes: 943fecc569 ("util: Add a randomized test for the virtual memory allocator") Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/util/tests/vma/vma_random_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/tests/vma/vma_random_test.cpp b/src/util/tests/vma/vma_random_test.cpp
index 88beb083861..de887fead30 100644
--- a/src/util/tests/vma/vma_random_test.cpp
+++ b/src/util/tests/vma/vma_random_test.cpp
@@ -236,7 +236,7 @@ int main(int argc, char **argv)
errx(1, "USAGE: %s seed iter_count\n", argv[0]);
}
- random_test r{seed};
+ random_test r{(uint_fast32_t)seed};
r.test(count);
printf("ok\n");