mirror of https://github.com/acidanthera/audk.git
Use INTN to case the result of subtract
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8647 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
bd828c8e83
commit
9260b9151b
|
@ -44,7 +44,7 @@ IsNvNeed (
|
|||
Ptr++;
|
||||
}
|
||||
|
||||
if ((((UINTN)Ptr - (UINTN)ConVarName) / sizeof (CHAR16)) <= 3) {
|
||||
if (((INTN)((UINTN)Ptr - (UINTN)ConVarName) / sizeof (CHAR16)) <= 3) {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue