From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZW4hu-0003dh-O8 for qemu-devel@nongnu.org; Sun, 30 Aug 2015 11:39:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZW4hq-0002C4-OP for qemu-devel@nongnu.org; Sun, 30 Aug 2015 11:39:46 -0400 Message-ID: <55E323BA.8030402@weilnetz.de> Date: Sun, 30 Aug 2015 17:39:38 +0200 From: Stefan Weil MIME-Version: 1.0 References: <20150830141909.GA13186@var.home> <20150830151213.GE3238@var.home> In-Reply-To: <20150830151213.GE3238@var.home> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="S9vBuE1uvQT5TNfo0hMPkFEOkecCqHoxb" Subject: Re: [Qemu-devel] [PATCH] baum: Fix build with debugging enabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Samuel Thibault Cc: QEMU Trivial , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --S9vBuE1uvQT5TNfo0hMPkFEOkecCqHoxb Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Am 30.08.2015 um 17:12 schrieb Samuel Thibault: > cur and buf are pointers, so the difference is a ptrdiff_t > > Signed-off-by: Samuel Thibault > > diff --git a/backends/baum.c b/backends/baum.c > index a69aaff..1f9288e 100644 > --- a/backends/baum.c > +++ b/backends/baum.c > @@ -303,7 +303,7 @@ static int baum_eat_packet(BaumDriverState *baum, c= onst uint8_t *buf, int len) > return 0; > cur++; > } > - DPRINTF("Dropped %d bytes!\n", cur - buf); > + DPRINTF("Dropped %td bytes!\n", cur - buf); > } > =20 > #define EAT(c) do {\ > Please don't send patches as reply to previous e-mails and use a subject which shows the patch revision (here "[PATCH v2] baum: Fix build with debugging enabled") for future patches. Reviewed-by: Stefan Weil --S9vBuE1uvQT5TNfo0hMPkFEOkecCqHoxb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJV4yO6AAoJEOCMIdVndFCtDxkP/0SiTqCRWA3qwV9ShwXOSDIx 4ZK3DfBiOnR5ysnlrHgIB3Gc6Ee52Dv0l1JHcivboO9rLpOPtdJup2+LpKwPzuaG w3mcQRqlGBvEMiMuPmRVLRwnr2YlaPAhW9e0an1cGLYmn31bhVN2eK3BLvK8eWuR ovScz1pX/tS/i0SpBNhfOxs4NDVlgFT2qFeOcqWcBefutpqcGPt4cInP29aezWsY 6zHYms+noX4ypyrzLGF4RpYYQ1T2bKStKIcMIfW1jz2WVFdeLhidGBu74vZJwNB3 klr7n3Ll3f372w2dXUcGuRtRmGkBeQxO9aDIEdw1ND1AedhGk4E1iZXkWesnY5Ph gtXCQwa3aEMuD0ZxsCAwmpR5Dh54Awuttny8KfNySCRe7S/h+UasL2DDgWk9pWgJ OPo6fhwgy3GVCT9mXM5QIwS8Hzi1cerd7NIdqff1uDznYt2/amlMs9u1Xg3eNWmO WMbX2Rfzo/ILhXas5vCn3VASnAhYaiqhOYsAUPr8WzOEeWprqpf6BSevvZZd7lyV gwH8JjY8kMPOUtutG4ctM/+xQ8oeuF0rVJXVYdKJWC6nwX/bB/JsbjKTAz0ctzob 6E5NDt/povDtYi8/gWsem0+wVaAk+k+Ku/4szjkAWVIxZeLr4F2VQxjF6KUbPz6h 4yGAu6Hi7nPoESSwUVtw =fyok -----END PGP SIGNATURE----- --S9vBuE1uvQT5TNfo0hMPkFEOkecCqHoxb--