Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1396255pxk; Thu, 10 Sep 2020 14:21:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwUDnSm7DeSnSWBXEDrhe41kkevCJMsAbOxmfElz3424xtHcdn1Mi1OKvxAi9MLqwctCQT X-Received: by 2002:aa7:c885:: with SMTP id p5mr11228608eds.127.1599772896581; Thu, 10 Sep 2020 14:21:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599772896; cv=none; d=google.com; s=arc-20160816; b=pFZqXCG4pKq8000syp7wvRZli5RrU2hZvs7dra4L3x5eQ7lUmFyoKX46dqeydYzjUa uEhv7ZyXtu5dti4Qrz21FxL1pmRndEsnUhvdnQHJcMvnO2/2p0hikr3wl77IKuz+hbhj gdAQ15Gs1mtEkTUNanVhJ0YoNgQdDRoJtuoWTYAukDLt8CVVjv8xhMgRwFn7QUGj0LwK 2vH50frNwcCAjJ3FGWFV/qsGTQfqoZVMVjt+XB51ghqeF5IOU0AyMzKKgMPkuVNT+KOU yHvawhYPURQnMOb6UBPDC+B7sdOkpJuA4HECSC8diG8GHW/uFm4e5Y/OoVyD4KSflkBR /vIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MLBdHdm5cYk8dfxdkOCuHqs4ImelW6eqd8o4yH+DFEY=; b=Fd5fQxiM5cvSr5EXkadY+BFjDlS+FwCQnnPYjO4h8x/v1zrc/SMfOMVAZRlXP0KCxD Tl7oyxkAq5rbCBUqDJ6yZbC7o7OnuxgwPPGM7JSMBCeosKQP+UetI4UOZeAxIYvARJKM pvMBB29tu6kr39OrI6TP7eaAj7XTHtMpBCj91NLtuRoHKeHZ/MPyy58Dkgndkw7e5GU+ 56Hf9b1/+dEgzrUgVY0EKuy545D3t586OtCnV5rJhYE16BUHedxRMuxvYhVY7b55eTO9 QAJY7tPRW1Pjz0XEphyDVP5Z6oCPlCrVJONpt1ei76pcjmrfTobiSOoFGqVgH2r8XeKa czSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Aa2oLGC+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e14si4322047eds.529.2020.09.10.14.21.14; Thu, 10 Sep 2020 14:21:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Aa2oLGC+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726932AbgIJVTi (ORCPT + 99 others); Thu, 10 Sep 2020 17:19:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726480AbgIJVOi (ORCPT ); Thu, 10 Sep 2020 17:14:38 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB19FC061799; Thu, 10 Sep 2020 14:14:20 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id m6so8795131wrn.0; Thu, 10 Sep 2020 14:14:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MLBdHdm5cYk8dfxdkOCuHqs4ImelW6eqd8o4yH+DFEY=; b=Aa2oLGC+K0Hx85Gvq7caNDqwpIq7iZdPaXmAGheW4YhF+N+GhDbBF8GFZhn1t/XLvX oRPkVlgvjUw9N4twwtvPNmCt1JHJ82iBrqx9458llE/WRLLXiX6CBIAjq4EyLuKNtFeo nC4gtDn7kaLad8HsGdnHRl6auLHkB8WhIr3vmskR4MaHsl++0QpPGOA4uZiBreavim6g iSs8N31PIa1fEKTDU4RsriPGYgz0/Z6U1UqzQbW9pyaT/r9a0tsjjboBlQkD6qNbZsVO Y3xQW+PISO3eFmESexmdjwHBLU4n+aJngAgZ4NVLjjQRjLmuxEJ8K8IzC9YX+pB0CspN 47Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MLBdHdm5cYk8dfxdkOCuHqs4ImelW6eqd8o4yH+DFEY=; b=NIr+HZaDMCmytks38e58uCV0AC+inenHu/lvWRpkeorcEJPivoeUogYQ4VhYMUsACl qXdf5FjTYHi9kOyPZmy5u77e4UeHitoSIX2u6bKpEr/zFzytqOprO/yg9y4D1STww6+R ooMYc4ajVnF1DEQ681ShOTUAyn7Zt1/2yBXmTcJql7ozTvD79Jt9rA7RQLdRWoDLeZ/W 8MyzCV4jSai9zxYkrmX7feBj61y+B6+e92LgnFk00FCNH1M08T44ENzLHrFaAPRpx8jz UceQsIKcq96Zp3XeWke8hapw5OZn9Ez72HQdQbN2oIHm3+vesdOsplxO4xRucFzWgCWB yi1Q== X-Gm-Message-State: AOAM530K8bpIVo66pWl1CNSAYi4uMIyX5VT+his5vt25Wc1ypIF9krVy SI+5BPQki5L7v+SVTwHkw+s= X-Received: by 2002:adf:dfd1:: with SMTP id q17mr12036829wrn.347.1599772457636; Thu, 10 Sep 2020 14:14:17 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id l10sm111502wru.59.2020.09.10.14.14.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 14:14:17 -0700 (PDT) From: Alejandro Colomar To: mtk.manpages@gmail.com Cc: linux-man@vger.kernel.org, linux-kernel@vger.kernel.org, Alejandro Colomar Subject: [PATCH 07/24] request_key.2: Cast to 'unsigned long' rather than 'long' when printing with "%lx" Date: Thu, 10 Sep 2020 23:13:28 +0200 Message-Id: <20200910211344.3562-8-colomar.6.4.3@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200910211344.3562-1-colomar.6.4.3@gmail.com> References: <20200910211344.3562-1-colomar.6.4.3@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Alejandro Colomar --- man2/request_key.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/request_key.2 b/man2/request_key.2 index e28c11ded..c14bcb000 100644 --- a/man2/request_key.2 +++ b/man2/request_key.2 @@ -537,7 +537,7 @@ main(int argc, char *argv[]) exit(EXIT_FAILURE); } - printf("Key ID is %lx\en", (long) key); + printf("Key ID is %lx\en", (unsigned long) key); exit(EXIT_SUCCESS); } -- 2.28.0