From owner-svn-src-head@FreeBSD.ORG Wed Aug 14 07:14:37 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3A617147 for ; Wed, 14 Aug 2013 07:14:37 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com [209.85.217.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B363923C1 for ; Wed, 14 Aug 2013 07:14:36 +0000 (UTC) Received: by mail-lb0-f175.google.com with SMTP id 13so6426763lba.6 for ; Wed, 14 Aug 2013 00:14:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=RlapbIItV7lklYkIM5hY3b2KIDxFw2+PZsfISGUSAYI=; b=Z8p0zmeqH1VOUZrP9FR5Co5NdPvlrYslUX5qIE/DkoWVkmu7UzHNFEJVXlzqwJQLPG PRgp+m9e1jRqUELcVrh9evJjOzIb3SCWTG8bDm2V/yl1emPwdgrvzlnnRkOMvuDi0sQw +3++lN3B6dugtFFaiCO+7trXCegX9uaVs9UdK0Wk1wgA8De1N/HXt+y+frQqL9dVnnCw V+hmWifEJtvsh4Qr0Z2s7jxpsVtgmn2ij9rN1z/Gz/OMGYze4L1Kn4z1gBZ/bgXuPy5y nC9BlYVkjgIen7UYVcpmFuczAAFVewc9HqFjHi2gJE0B63OW7SBiWNfXIDMKuUqgacFE Gz9A== X-Gm-Message-State: ALoCoQnOgZXykJVbnWPwULhFXFv6Z0v6OocyTbuJL5+cmF5WloTBqSOUUUJHNDO4PVUc0ryXle6E X-Received: by 10.112.172.137 with SMTP id bc9mr1452173lbc.21.1376464469116; Wed, 14 Aug 2013 00:14:29 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.152.23.101 with HTTP; Wed, 14 Aug 2013 00:14:09 -0700 (PDT) In-Reply-To: <9B5BBD34-F953-40BF-8C10-0EF466ED3350@FreeBSD.org> References: <201308131839.r7DIdaLD037277@svn.freebsd.org> <9B5BBD34-F953-40BF-8C10-0EF466ED3350@FreeBSD.org> From: Juli Mallett Date: Wed, 14 Aug 2013 00:14:09 -0700 X-Google-Sender-Auth: kQpMfV5V-TA1TLBMDhi2B9pjuHU Message-ID: Subject: Re: svn commit: r254286 - head/sys/fs/ext2fs To: Dimitry Andric Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, "Pedro F. Giffuni" , src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 07:14:37 -0000 On Wed, Aug 14, 2013 at 12:11 AM, Dimitry Andric wrote: > This still fails on arches where int64_t is aliased to long long > (basically, the 32-bit arches). Since using PRId64 is apparently > frowned upon, the easiest solution is to cast the 'start' and 'last' > variables to long long, and print them using %lld. > That can't be the easiest solution, it's not even that easy :) It seems like intmax_t or uintmax_t as appropriate and cast to %jd or %ju respectively would be better. Juli.