Received: from eggs.gnu.org ([2001:4830:134:3::10]:60327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzUp9-000727-1I for qemu-devel@nongnu.org; Tue, 24 Jun 2014 13:48:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzUp1-0005dO-GB for qemu-devel@nongnu.org; Tue, 24 Jun 2014 13:48:02 -0400 Received: from v220110690675601.yourvserver.net ([37.221.199.173]:32933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzUp1-0005dJ-9t for qemu-devel@nongnu.org; Tue, 24 Jun 2014 13:47:55 -0400 Message-ID: <53A9B9C0.2060706@weilnetz.de> Date: Tue, 24 Jun 2014 19:47:44 +0200 From: Stefan Weil MIME-Version: 1.0 References: <1403113751-19799-1-git-send-email-sw@weilnetz.de> In-Reply-To: <1403113751-19799-1-git-send-email-sw@weilnetz.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] libvixl: Fix wrong format strings List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org, Richard Henderson Am 18.06.2014 19:49, schrieb Stefan Weil: > When the compiler is told to check the arguments of AppendToOutput, > it reports several errors of this kind: >=20 > error: format =E2=80=98%d=E2=80=99 expects argument of type =E2=80=98in= t=E2=80=99, > but argument 3 has type =E2=80=98int64_t {aka long int}=E2=80=99 [-Wer= ror=3Dformat] >=20 > Fix those bugs by using the correct format strings with PRId64, PRIx64. >=20 > Signed-off-by: Stefan Weil > --- >=20 > Hello Peter, >=20 > if you want to fix the format strings before upstream updates the code, > you can use this patch. >=20 > It fails with checkpatch.pl, but that's normal in this case. >=20 > Regards > Stefan >=20 Ping? Peter, I suggest that you apply this patch directly as it is a bug fix, and I don't expect that anybody will send a pull request. Stefan