projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
6d977c8
)
testing: attempt to fix old clang
author
Michael Wallner
<mike@php.net>
Tue, 15 Sep 2020 19:48:46 +0000
(21:48 +0200)
committer
Michael Wallner
<mike@php.net>
Tue, 15 Sep 2020 19:48:46 +0000
(21:48 +0200)
testing/tests/memcached/regression/lp447342.cpp
patch
|
blob
|
history
diff --git
a/testing/tests/memcached/regression/lp447342.cpp
b/testing/tests/memcached/regression/lp447342.cpp
index 1ff33fe769e12b57124733f314b42775dc4ad595..5ea31ba54090d35dcc5845a7f331dcea125e3c30 100644
(file)
--- a/
testing/tests/memcached/regression/lp447342.cpp
+++ b/
testing/tests/memcached/regression/lp447342.cpp
@@
-23,7
+23,7
@@
TEST_CASE("memcached_regression_lp447342") {
array<size_t, NUM_KEYS> len;
for (auto i = 0U; i < NUM_KEYS; ++i) {
- str[i] = random_ascii_string(random_num(24, 32));
+ str[i] = random_ascii_string(random_num
<size_t>
(24, 32));
chr[i] = str[i].data();
len[i] = str[i].length();
REQUIRE_SUCCESS(memcached_set(memc, chr[i], len[i], chr[i], len[i], 0, 0));