From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by passt.top (Postfix, from userid 1000) id 7FCAF5A027B; Thu, 30 Nov 2023 11:07:26 +0100 (CET) From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH v2 0/3] Fix some build warnings and errors for 32-bit and musl Date: Thu, 30 Nov 2023 11:07:23 +0100 Message-Id: <20231130100726.4151850-1-sbrivio@redhat.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 7VXZSHPBUHM3DABSDTBFAKB2ZIPBDTHL X-Message-ID-Hash: 7VXZSHPBUHM3DABSDTBFAKB2ZIPBDTHL X-MailFrom: sbrivio@passt.top X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson , lemmi@nerd2nerd.org X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: v2: - In 1/3, use %zi as format specifier for to_write in tcp_splice_sock_handler() - Drop 3/4, David will deal with CONN_IDX() separately Stefano Brivio (3): treewide: Use 'z' length modifier for size_t/ssize_t conversions packet: Offset plus length is not always uint32_t, but it's always size_t port_fwd, util: Include additional headers to fix build with musl netlink.c | 2 +- packet.c | 14 +++++++------- pcap.c | 4 ++-- port_fwd.c | 2 ++ tap.c | 12 ++++++------ tcp.c | 3 ++- tcp_splice.c | 8 ++++---- util.h | 1 + 8 files changed, 25 insertions(+), 21 deletions(-) -- 2.39.2