Fixd EDKII r2594 build broken issue - MdePkg build failed with ICC.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2596 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qouyang 2007-05-15 06:27:11 +00:00
parent c392941764
commit ceffbc1900

View File

@ -32,19 +32,19 @@ InternalIpfDelay (
IN INT64 Delay
)
{
UINT64 Ticks;
INT64 Ticks;
//
// The target timer count is calculated here
//
Ticks = AsmReadItc () + Delay;
Ticks = (INT64)AsmReadItc () + Delay;
//
// Wait until time out
// Delay > 2^63 could not be handled by this function
// Timer wrap-arounds are handled correctly by this function
//
while (Ticks >= AsmReadItc());
while (Ticks - (INT64)AsmReadItc() >= 0);
}
/**