From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Neutral (access neither permitted nor denied) identity=mailfrom; client-ip=65.50.211.136; helo=mail.zytor.com; envelope-from=paulo@hp.com; receiver=edk2-devel@lists.01.org Received: from mail.zytor.com (terminus.zytor.com [65.50.211.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 40C81202E6170 for ; Fri, 27 Oct 2017 09:22:59 -0700 (PDT) Received: from localhost.localdomain ([IPv6:2804:7f4:c480:c753:0:0:0:1]) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id v9RGOQen001099 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 27 Oct 2017 09:24:28 -0700 From: Paulo Alcantara To: edk2-devel@lists.01.org Cc: Paulo Alcantara , Jaben Carsey , Ruiyu Ni Date: Fri, 27 Oct 2017 14:24:13 -0200 Message-Id: X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Subject: [PATCH] ShellPkg: Fix type mismatch with GCC X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2017 16:23:00 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch fixes the following warning reported by GCC 6.3: /home/pcacjr/src/edk2.git/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c:271:1: warning: type of ‘InternalCharToUpper’ does not match original decl aration [-Wlto-type-mismatch] InternalCharToUpper ( ^ /home/pcacjr/src/edk2.git/MdePkg/Library/BaseLib/String.c:555:1: note: ‘InternalCharToUpper’ was previously declared here InternalCharToUpper ( ^ Cc: Jaben Carsey Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Paulo Alcantara --- ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c b/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c index 7948e53cfc..bab6631e15 100644 --- a/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c +++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.c @@ -268,6 +268,7 @@ VerifyIntermediateDirectories ( @return Char as an upper case character. **/ CHAR16 +EFIAPI InternalCharToUpper ( IN CONST CHAR16 Char ); -- 2.11.0