From 224b1cc286122b8aca5002fec31ed0390b299403 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 26 Sep 2016 07:42:24 +0200 Subject: Fix various issues reported by Coverity --- Library/PasswordLib/PlatformID.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/PasswordLib') diff --git a/Library/PasswordLib/PlatformID.c b/Library/PasswordLib/PlatformID.c index 351503e..63b2e7d 100644 --- a/Library/PasswordLib/PlatformID.c +++ b/Library/PasswordLib/PlatformID.c @@ -236,7 +236,7 @@ PlatformGetAuthDataByType( continue; } *data = buf; - *len = mark->AuthDataSize * 1024 * 128; + *len = ((UINTN) mark->AuthDataSize) * 1024 * 128; *secRegionHandle = gBIOHandles[gBioIndexAuth]; return EFI_SUCCESS; } -- cgit v1.2.3