From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KkBqz-0002jN-VZ for garchives@archives.gentoo.org; Mon, 29 Sep 2008 06:03:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2278E078C; Mon, 29 Sep 2008 06:03:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 77935E078C for ; Mon, 29 Sep 2008 06:03:29 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 545D464C5F for ; Mon, 29 Sep 2008 06:03:28 +0000 (UTC) Received: from vapier by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1KkBqx-0005hD-Ah for gentoo-commits@lists.gentoo.org; Mon, 29 Sep 2008 06:03:27 +0000 From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c X-VCS-Repository: gentoo-projects X-VCS-Files: scanelf.c X-VCS-Directories: pax-utils X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: Sender: Mike Frysinger Date: Mon, 29 Sep 2008 06:03:27 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 22c3ea1c-967e-4cde-be12-b629ccef75af X-Archives-Hash: 49b260878308f3d794f17d5fb22777fe vapier 08/09/29 06:03:27 Modified: scanelf.c Log: add a cast to off_t printf to silence warning #236464 Revision Changes Path 1.193 pax-utils/scanelf.c file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/sca= nelf.c?rev=3D1.193&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/sca= nelf.c?rev=3D1.193&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/sca= nelf.c?r1=3D1.192&r2=3D1.193 Index: scanelf.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v retrieving revision 1.192 retrieving revision 1.193 diff -u -r1.192 -r1.193 --- scanelf.c 29 Sep 2008 06:01:22 -0000 1.192 +++ scanelf.c 29 Sep 2008 06:03:26 -0000 1.193 @@ -1,13 +1,13 @@ /* * Copyright 2003-2007 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v 1.192 200= 8/09/29 06:01:22 vapier Exp $ + * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v 1.193 200= 8/09/29 06:03:26 vapier Exp $ * * Copyright 2003-2007 Ned Ludd - * Copyright 2004-2007 Mike Frysinger - */ =20 -static const char *rcsid =3D "$Id: scanelf.c,v 1.192 2008/09/29 06:01:22= vapier Exp $"; +static const char *rcsid =3D "$Id: scanelf.c,v 1.193 2008/09/29 06:03:26= vapier Exp $"; const char * const argv0 =3D "scanelf"; =20 #include "paxinc.h" @@ -1234,7 +1234,7 @@ case 'a': out =3D get_elfemtype(elf); break; case 'I': out =3D get_elfosabi(elf); break; case 'Y': out =3D get_elf_eabi(elf); break; - case 'Z': snprintf(ubuf, sizeof(ubuf), "%lu", elf->len); out =3D ubuf;= break;; + case 'Z': snprintf(ubuf, sizeof(ubuf), "%lu", (unsigned long)elf->len)= ; out =3D ubuf; break;; default: warnf("'%c' has no scan code?", out_format[i]); } if (out) {