diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2017-10-18 20:40:57 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2017-10-18 20:40:57 +0000 |
commit | f1d1a5b4a9a05d85c6dde460a15ddac98caf7d7a (patch) | |
tree | 60172e2892ce7d87c4f5042da5e9398e123f0cd0 /libcxx/fuzzing/fuzzing.cpp | |
parent | 443695f80aab6ceddd570367ffc3019c1cbd2a0f (diff) | |
download | bcm5719-llvm-f1d1a5b4a9a05d85c6dde460a15ddac98caf7d7a.tar.gz bcm5719-llvm-f1d1a5b4a9a05d85c6dde460a15ddac98caf7d7a.zip |
Fix a think-o in the design of the stable_XXX sort tests; only shows up for test cases > 255 elements
llvm-svn: 316125
Diffstat (limited to 'libcxx/fuzzing/fuzzing.cpp')
-rw-r--r-- | libcxx/fuzzing/fuzzing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/fuzzing/fuzzing.cpp b/libcxx/fuzzing/fuzzing.cpp index d4d0e602cc4..c4410199d65 100644 --- a/libcxx/fuzzing/fuzzing.cpp +++ b/libcxx/fuzzing/fuzzing.cpp @@ -37,10 +37,10 @@ namespace fuzzing { struct stable_test { uint8_t key; - uint8_t payload; + size_t payload; stable_test(uint8_t k) : key(k), payload(0) {} - stable_test(uint8_t k, uint8_t p) : key(k), payload(p) {} + stable_test(uint8_t k, size_t p) : key(k), payload(p) {} }; void swap(stable_test &lhs, stable_test &rhs) |