]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
tls: Fix a printf sign mismatch
authorVolker Lendecke <vl@samba.org>
Mon, 4 Aug 2025 11:43:31 +0000 (13:43 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 2 Sep 2025 08:08:28 +0000 (08:08 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source4/lib/tls/tls_tstream.c

index f91388947c2f1a59eaf5edd9e5fb0938f24de20b..09f66a03444d52a9e324e70fd02a5b7c02640217 100644 (file)
@@ -2607,7 +2607,7 @@ static int tstream_ngtcp2_acked_stream_data_offset_cb(ngtcp2_conn *conn,
                  "offset[%"PRIu64"] pushed[%"PRIu64"][%zd]\n",
                  si->stream_id, si->writev.pushed_offset,
                  si->writev.pushed ? si->writev.pushed->offset : 0,
-                 si->writev.pushed ? si->writev.pushed->length : -1);
+                 si->writev.pushed ? (ssize_t)si->writev.pushed->length : -1);
 
        return 0;
 }