VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/Library/PasswordLib
diff options
context:
space:
mode:
Diffstat (limited to 'Library/PasswordLib')
-rw-r--r--Library/PasswordLib/PlatformID.c2
1 files changed, 1 insertions, 1 deletions
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;
}