]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix compilation warnings in dlz_sqlite3_dynamic.c
authorMichal Nowak <mnowak@isc.org>
Mon, 30 May 2022 13:23:45 +0000 (15:23 +0200)
committerMichal Nowak <mnowak@isc.org>
Mon, 5 Dec 2022 15:00:35 +0000 (16:00 +0100)
commit079aeb16d279b5e7e1550ba3d7e663ff23ff50f3
treeac0e67ecb92a818fea7cc05874bc38da1552b4c0
parent93c518c7a56cdb077affd3ad8709cfcb358a7ee4
Fix compilation warnings in dlz_sqlite3_dynamic.c

    dlz_sqlite3_dynamic.c: In function ‘dlz_sqlite3_fetch_row’:
    dlz_sqlite3_dynamic.c:447:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
      447 |                 if (rs->pnRow > 0U && rs->curRow < rs->pnRow) {
          |                               ^
    dlz_sqlite3_dynamic.c:447:50: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
      447 |                 if (rs->pnRow > 0U && rs->curRow < rs->pnRow) {
          |                                                  ^

(cherry picked from commit 60f68dc0d62a87c44c20afbdb8ccdf93bc0826db)
contrib/dlz/modules/sqlite3/dlz_sqlite3_dynamic.c