From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::644; helo=mail-pl1-x644.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 209322194D3B3 for ; Wed, 14 Nov 2018 18:34:09 -0800 (PST) Received: by mail-pl1-x644.google.com with SMTP id x21-v6so5999096pln.9 for ; Wed, 14 Nov 2018 18:34:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=m/0sore4yQgOyZWlHCmFdl4sf7YbaRyTikzCX+ndiBY=; b=bAbXNtURdLtv4u3IyinyNO83rEnK6hvNdx8MI/FeJbJQIgM3VbPbk+O/Gh5srVX+Wb LcxseKw2AsWOAMEBSWAZ8fQZNuHamgQPMAWizCFelUb8S99KFwduXTobstrvuAq8Gm4o 7wLiTDcP3EYgUqIHOoImOzZzx12+bMBLCV4o0= 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; bh=m/0sore4yQgOyZWlHCmFdl4sf7YbaRyTikzCX+ndiBY=; b=ZkJqM/M5sbclA2Z43WIKXt8Kf6DUFLb6x2sh7ArfkQpL/ynMeE/Kq+rC4TW3ELSEGI fKd2JvETW4YkggdF0vcg4gFMMGehUPmgsXtBoI7K5NS4+OdR5iyPkbtujcWflsXZ7O9o xW/xnr1Wc86xy6JfCYry/80owox2UGH5Xq/kM4SWoATEfzsv8FlxsnYM/bhCxQfUD3rk DZJ6QwcwINLoJm3I/yjc/c8RY0LBCjhBQzHvQai98HfOexFeKOrRRkGvvCB46uGBARNU R///WU99tK2dPlANucnX9V1D75Zc2LquJKWqN/+qc1EmC+xwM5s2pXYCwoHSfiUFVGCO r+dA== X-Gm-Message-State: AGRZ1gK8cVhCopPeha6ztQQj9Gp4fREXKm/zLJZ+NCVsuZk85J0B8Cd2 LEd++5yhfaIG8x58Sis66yAXuGtkrIGviA== X-Google-Smtp-Source: AJdET5fquQqKxgM3srnb4cmKaZVuJ5lKBh/MEkx7m3Dxti8RCNZiJr4bnRUmMYRBXhYXyeW7vNNgvg== X-Received: by 2002:a17:902:b181:: with SMTP id s1-v6mr4525764plr.51.1542249248634; Wed, 14 Nov 2018 18:34:08 -0800 (PST) Received: from mba13.psav.com ([64.114.255.97]) by smtp.gmail.com with ESMTPSA id v185-v6sm27323393pfv.48.2018.11.14.18.34.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Nov 2018 18:34:07 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, maciej.rabeda@intel.com, kamil.kacperski@intel.com, pawel.orlowski@intel.com, philmd@redhat.com, michael.d.kinney@intel.com, harry.l.hsiung@intel.com, eric.jin@intel.com, Ard Biesheuvel Date: Wed, 14 Nov 2018 18:33:39 -0800 Message-Id: <20181115023353.20159-7-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181115023353.20159-1-ard.biesheuvel@linaro.org> References: <20181115023353.20159-1-ard.biesheuvel@linaro.org> Subject: [PATCH edk2-staging 06/20] IntelUndiPkg/XGigUndiDxe: add missing UINT8* cast X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2018 02:34:09 -0000 UINT8 and CHAR8 are not the same underlying type on all architectures, so add an explicit cast where necessary. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- IntelUndiPkg/XGigUndiDxe/Hii.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IntelUndiPkg/XGigUndiDxe/Hii.c b/IntelUndiPkg/XGigUndiDxe/Hii.c index 3ad7d61e493d..3170580487d5 100644 --- a/IntelUndiPkg/XGigUndiDxe/Hii.c +++ b/IntelUndiPkg/XGigUndiDxe/Hii.c @@ -782,7 +782,7 @@ HiiSetMenuStrings ( Status = ReadPbaString ( &UndiPrivateData->NicInfo, - PBAString8, + (UINT8 *)PBAString8, MAX_PBA_STR_LENGTH ); if (Status == EFI_SUCCESS) { -- 2.17.1