From patchwork Wed Oct 15 10:38:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 399939 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3565814012B for ; Wed, 15 Oct 2014 21:40:23 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3F98EA7857; Wed, 15 Oct 2014 12:39:58 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CfSa9I60RJY1; Wed, 15 Oct 2014 12:39:58 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A19F6A786E; Wed, 15 Oct 2014 12:39:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 74C3FA7800 for ; Wed, 15 Oct 2014 12:39:05 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f0Mu6fUoUZPS for ; Wed, 15 Oct 2014 12:39:05 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pd0-f202.google.com (mail-pd0-f202.google.com [209.85.192.202]) by theia.denx.de (Postfix) with ESMTPS id 5BA80A782A for ; Wed, 15 Oct 2014 12:39:00 +0200 (CEST) Received: by mail-pd0-f202.google.com with SMTP id fp1so158415pdb.1 for ; Wed, 15 Oct 2014 03:38:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4DMvm/Qk/0XoXo1W71y0+nadE3YQRSGyv4u9Or5kNjk=; b=g/dR3Y+aaEuIkK76RweVlejramk7BCX1RFZh5J5q/2q/qpXFDkdN9XNds2z2zbJyld SzOIjZ+yA79yGcfqzDf/qXRK8MpSPQSeW2M5Bi92pMTXt/Jh/iJGJLplO90GB4fgkLOQ jy78aypq2pooE+m3SSHYYOvY4pxI8K8+9+Rv+TloNuNmKmT741WaUtLoyM3yF34j3SCP bGIyAKJleJWvK5v3CQVVrEv+z98wdOEc/mxnzZzROkZxf7UhGQzyXgUiub2jclOaBE9b 8CCiJ5HJBdmvX8qgApVRsVAHcxoTVU8grw1P02uwxN1CjaT4mE9gDKo/LuYue0MPq1R5 Befg== X-Gm-Message-State: ALoCoQlv6sYuoicKLGvf27uTSLbPUzsvqZCtXtjYG1stZLZI0ugWf2uc+mLB+uyKT4MoMljHCAmF X-Received: by 10.68.247.138 with SMTP id ye10mr7628500pbc.6.1413369539098; Wed, 15 Oct 2014 03:38:59 -0700 (PDT) Received: from corpmail-nozzle1-2.hot.corp.google.com ([100.108.1.103]) by gmr-mx.google.com with ESMTPS id n63si948283yho.5.2014.10.15.03.38.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Oct 2014 03:38:59 -0700 (PDT) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by corpmail-nozzle1-2.hot.corp.google.com with ESMTP id uMvClrBw.1; Wed, 15 Oct 2014 03:38:59 -0700 Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 75115221004; Wed, 15 Oct 2014 04:38:58 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Wed, 15 Oct 2014 04:38:34 -0600 Message-Id: <1413369519-11677-6-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.1.0.rc2.206.gedb03e5 In-Reply-To: <1413369519-11677-1-git-send-email-sjg@chromium.org> References: <1413369519-11677-1-git-send-email-sjg@chromium.org> Subject: [U-Boot] [PATCH 05/10] Use uint64_t instead of u64 in put_dec() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Use the correct type required by do_div(). Signed-off-by: Simon Glass --- lib/vsprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 7ec758e..b585713 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -270,7 +270,7 @@ static char *put_dec_full(char *buf, unsigned q) return buf; } /* No inlining helps gcc to use registers better */ -static noinline char *put_dec(char *buf, u64 num) +static noinline char *put_dec(char *buf, uint64_t num) { while (1) { unsigned rem;