From: Michał Kępień Date: Thu, 1 Feb 2018 20:25:37 +0000 (+0100) Subject: [master] Silence compiler warnings about comparisons between signed and unsigned... X-Git-Tag: v9.13.0~197 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=a3c2b8831efb3e82f8b5417bf4fa7bef6dc288ae;p=thirdparty%2Fbind9.git [master] Silence compiler warnings about comparisons between signed and unsigned integers [RT #46980] --- diff --git a/lib/isc/tests/random_test.c b/lib/isc/tests/random_test.c index 03e38e6f33a..575daacc9bd 100644 --- a/lib/isc/tests/random_test.c +++ b/lib/isc/tests/random_test.c @@ -192,8 +192,8 @@ tables_init(void) { * This function destroys (modifies) the data passed in bits. */ static isc_uint32_t -matrix_binaryrank(isc_uint32_t *bits, ssize_t rows, ssize_t cols) { - ssize_t i, j, k; +matrix_binaryrank(isc_uint32_t *bits, size_t rows, size_t cols) { + size_t i, j, k; unsigned int rt = 0; isc_uint32_t rank = 0; isc_uint32_t tmp;