mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-16 17:22:51 -04:00
Merge branch 'ondrej/fix-clang-10-error' into 'master'
Silence false positive warning from Clang 10 in random_test.c See merge request isc-projects/bind9!2404
This commit is contained in:
commit
22e487a584
1 changed files with 1 additions and 1 deletions
|
|
@ -322,7 +322,7 @@ random_test(pvalue_func_t *func, isc_random_func test_func) {
|
|||
case ISC_RANDOM_UNIFORM:
|
||||
uniform_values = (uint16_t *)values;
|
||||
for (i = 0;
|
||||
i < (sizeof(values) / sizeof(*uniform_values));
|
||||
i < (sizeof(values) / (sizeof(*uniform_values)));
|
||||
i++)
|
||||
{
|
||||
uniform_values[i] =
|
||||
|
|
|
|||
Loading…
Reference in a new issue