From owner-svn-src-all@FreeBSD.ORG Wed Aug 14 07:14:37 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 536E814C for ; Wed, 14 Aug 2013 07:14:37 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CC8D723C4 for ; Wed, 14 Aug 2013 07:14:36 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id w10so6420250lbi.7 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=FOt2tgg59AgVOOCI1z/CBMT1GQgxt8nwvnKctHg3AQWdcMTXYr4eSNoNtwBtnbZRHy 0WudN3jMRIFWL5sVl7SMvLj2SbeTCOPTDWfEzVmJWK2urOtoYIBUJS7lybUSI3o+A7k7 tqygl0jpMvOX/6NMGgbNPlJnuZTxuO5tzOtJU0Rl+OWMpfHXhPZM9Rgxu7Y6gPZ3iU0z p33MC7iatiFdvuHFSBozmGAHZ8vWCGVyQe7xxBHiS60h1d4zgJCk3Yp+exLtVyQYFZCy Uor/iOiVoEotASBsvK4WPivnhpnttnPcCxFLXt8kNso/c/Bn8vIdksgIAhMf7O2Vf5Ze MbKQ== X-Gm-Message-State: ALoCoQkJPWLmKPfCVbz5jTXuypIy+9tpUU4BLFhaCG7xgxdU9dmbVUy/jeX9DOaG11tocFOf+zwG 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-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" 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.