diff options
author | qouyang <qouyang@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-05-15 04:44:59 +0000 |
---|---|---|
committer | qouyang <qouyang@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-05-15 04:44:59 +0000 |
commit | c39294176417321486316962aa705508d5a72ecf (patch) | |
tree | d73590a3255b33976367650c449d42d6e5d0e4a2 | |
parent | efdbc5199e9189edcbd7a3d990c448748452eaef (diff) | |
download | edk2-platforms-c39294176417321486316962aa705508d5a72ecf.tar.xz |
Fixd EDKII r2594 build broken issue - MdePkg build failed with ICC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2595 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c b/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c index f4e9838745..9c4a07b696 100644 --- a/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c +++ b/MdePkg/Library/SecPeiDxeTimerLibCpu/IpfTimerLib.c @@ -32,7 +32,7 @@ InternalIpfDelay ( IN INT64 Delay
)
{
- INT64 Ticks;
+ UINT64 Ticks;
//
// The target timer count is calculated here
@@ -44,7 +44,7 @@ InternalIpfDelay ( // Delay > 2^63 could not be handled by this function
// Timer wrap-arounds are handled correctly by this function
//
- while (Ticks - AsmReadItc () >= 0);
+ while (Ticks >= AsmReadItc());
}
/**
|