]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[v9_12] Silence compiler warnings about comparisons between signed and unsigned integ...
authorMichał Kępień <michal@isc.org>
Thu, 1 Feb 2018 20:25:37 +0000 (21:25 +0100)
committerMichał Kępień <michal@isc.org>
Thu, 1 Feb 2018 20:29:03 +0000 (21:29 +0100)
(cherry picked from commit a3c2b8831efb3e82f8b5417bf4fa7bef6dc288ae)

lib/isc/tests/random_test.c

index 03e38e6f33a6474e38cd41533e612ba2458e5ae3..575daacc9bda9e615b692a6040191d878eb2ea32 100644 (file)
@@ -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;