Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1396403pxk; Thu, 10 Sep 2020 14:21:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykj25i0bZTYXqyMu2r00ne38X3fBONH4XLT2EXcRaDDg69MwgvHK47Ycm40RaR1B0Ii4B7 X-Received: by 2002:a17:906:829a:: with SMTP id h26mr11443344ejx.11.1599772911719; Thu, 10 Sep 2020 14:21:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599772911; cv=none; d=google.com; s=arc-20160816; b=m8q37IcUp59SLaqluoa2lvtqvGiAPK5wHEqH0FvqXssAAmC62i1LiO1rbAcWYGWheU anCwAiZ6tLP6rzCEH2tkhcnRvdu0O69iiocnXucWMcvD494/gIx0z5wXJ4JpV5UaPwJh YEif2f8BdsEKFI0cjdcrGDeb6a6IxZdZwj+iiUAHSgJQQKv6m0zR0S6sVDc9rBiamrQY UeJhNh+hp+3qLjhSn3TQlzGgaeArB0IzbktJYXeobZsQnR32Uwon6NyCEoOs2XyUdWzN eHRB0TybEoGMcWP/UTVZkHAUFrG5FPNvZcE2a/R3qGPq6RwjZkspH+Y4N2Ltw3oM1uxD SvNw== 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=X3WbVTqqKzlg68fDpT5tykZXFj/sNRCBMiQnCdblcY4=; b=u9FORxtXlpfTcO4RE5+AGHKeLyfqEUJo7MGOIC324ZE5pUU4y/Na4zHpEnfx0bg/A+ i5+Uo6ZmBE9kubsv2AFROJNs6W10B25H8PTOg9gt2LCBKLISqF2fQiKvh7hE7igAmRoF AAeELTdUstISpR3bNaksu3lT38AZrv5tsItQiA4hPu9OB0rH9zawhO5Ii4CheVjBjTzY MBQpqZJlCNN6OL5bWSlYCcFkUD5hHCYs/ef6j4wIcZIL7cDE6ntTAMN2GdtzAi1piukK kz4b4QBnfHrUEKZEKoHD6jAKBgWfyWMuYmADykb+aJ7htLXPnlPjUW5ERQqaZ2cYjNY1 n4sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fMAyDSAL; 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 d8si4873072edl.205.2020.09.10.14.21.28; Thu, 10 Sep 2020 14:21:51 -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=fMAyDSAL; 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 S1727918AbgIJVTn (ORCPT + 99 others); Thu, 10 Sep 2020 17:19:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726419AbgIJVOi (ORCPT ); Thu, 10 Sep 2020 17:14:38 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 374F7C061798; Thu, 10 Sep 2020 14:14:20 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id w5so8739885wrp.8; 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=X3WbVTqqKzlg68fDpT5tykZXFj/sNRCBMiQnCdblcY4=; b=fMAyDSALqxgxQTAYyfINhmy0a5ipXkxZEGOyffE1UiJ6KYv773IcvuJr6i4Tw/gdGA uJZMsUYKXQm3XfY9+p7RGccU1dCbaO0U7OFAJmsIaS9A0aVEl8ddv+ppsNI0SsDJ9SsL knHs8lk4kK1uQ1iNFgCxVM95cqqxQwoB4SA267UU2B+aKnCV0sWudYVgwAGz+AN2DwLU vVgp4Sp9gtIAGTsoVRLg9jd6nJzi2ez2AcKZoK5bY/fFfzi0EHK3AgEp5UuXxlPX+DQI oyekiMpo2xmUC4D2TGz+8cCTE2IV4QARKJdxZloCGDwJHUfjenKkinA54MIdnq81v9aO KuMw== 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=X3WbVTqqKzlg68fDpT5tykZXFj/sNRCBMiQnCdblcY4=; b=RyBV2Q1kNtbEZISLlXE90LYSXiR7i3kcl5sreTcVf+9HPxv+sKV0QiLhtQr7qLnMcH dTNh6adF1Kg7VFMLW+UNF/2FmbAQnSbfyp8hZ2ia6pwJS6DG3Zd8j9xom+X3/6Mxt6CQ m867cLRgYDIz43ch2NzDp7LsS2BDJymyVwvMbXAQtIoeUBIllOutO9nxY5H37vTBUtHT 0rr4EDzrosdKd1BLa00pCmVm0Tbkwy3/mD3F/opHwX5ewc4RCsszhy9/h8oO4Ph7VAmT oTo2EuGoexBp0qB+JYKfH/tU9+uQdpvv90TEa9P+9F+KvF3LBbdF95BrIVIbjNt9Eye3 l4HA== X-Gm-Message-State: AOAM532LvIaMBArh8D1FKwvpj+5KH2oPNRSTgKjsX/+nopwauVdtLUXg D4iW0P1Yapilqo6zVKIEL+o= X-Received: by 2002:a5d:68d1:: with SMTP id p17mr10499820wrw.378.1599772458707; Thu, 10 Sep 2020 14:14:18 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id l10sm111502wru.59.2020.09.10.14.14.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 14:14:18 -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 08/24] add_key.2: Cast to 'unsigned long' rather than 'long' when printing with "%lx" Date: Thu, 10 Sep 2020 23:13:29 +0200 Message-Id: <20200910211344.3562-9-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/add_key.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/add_key.2 b/man2/add_key.2 index bda08c3d2..bbd2d1d03 100644 --- a/man2/add_key.2 +++ b/man2/add_key.2 @@ -262,7 +262,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