diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-23 15:23:39 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-23 15:23:39 +0000 |
commit | 54e0b04c74a1e55ccfd3b428415eb419b975de8b (patch) | |
tree | 733bb7a9e6b7adf2289f4d4a96877ecd0042e7d1 /InOsEmuPkg/Unix/Sec/EmuThunk.c | |
parent | 27f6b4f86969dd11c73fb9c4a6ea2de422c48311 (diff) | |
download | edk2-platforms-54e0b04c74a1e55ccfd3b428415eb419b975de8b.tar.xz |
InOsEmuPkg/Unix: Fix build issues for GCC44 IA32
Signed-off-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11880 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'InOsEmuPkg/Unix/Sec/EmuThunk.c')
-rw-r--r-- | InOsEmuPkg/Unix/Sec/EmuThunk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/InOsEmuPkg/Unix/Sec/EmuThunk.c b/InOsEmuPkg/Unix/Sec/EmuThunk.c index 194cf137f9..97c339d241 100644 --- a/InOsEmuPkg/Unix/Sec/EmuThunk.c +++ b/InOsEmuPkg/Unix/Sec/EmuThunk.c @@ -257,8 +257,8 @@ SecSleep ( struct timeval start, end; unsigned long MicroSec; - rq.tv_sec = Nanoseconds / 1000000000; - rq.tv_nsec = Nanoseconds % 1000000000; + rq.tv_sec = DivU64x32 (Nanoseconds, 1000000000); + rq.tv_nsec = ModU64x32 (Nanoseconds, 1000000000); // // nanosleep gets interrupted by our timer tic. |