From 9ff02c81704b864bfea963cfaa0f83e6b0410554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Thu, 26 Sep 2019 14:55:53 +0200 Subject: [PATCH] Silence false positive warning from Clang 10 in random_test.c --- lib/isc/tests/random_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isc/tests/random_test.c b/lib/isc/tests/random_test.c index dcad858398..43c499090f 100644 --- a/lib/isc/tests/random_test.c +++ b/lib/isc/tests/random_test.c @@ -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] =